UX completeness audit: keyboard, screen reader, touch (prod) #935

Open
opened 2026-11-04 14:10:15 +00:00 by kayg · 1 comment
Owner

Audit only, no product code changed. Rule from kayg: every item's primary action must work wherever it is shown, across pointer, touch, keyboard and screen reader, with live edits, Undo, standard menus and real empty/error states.

What was tested: origin/dev @ 6be86ba0, a local dev build with fixture notes on dev-01 (never prod data). Playwright, Chromium and WebKit, desktop 1440 and phone 402 (touch + mobile emulation), plus axe-core. Scenes: note list, note editor, Note info / Style / Insert sheets, row menu, search palette (desktop) and list search (phone), Settings (5 sections), toast/Undo, empty / missing / offline states.

Not in origin/dev, so not auditable yet:

  • Tasks and Contacts have no UI on dev (apps.ts has built: false for both). Their UI sits in open PRs #888, #889, #893, #848, #849. The checkbox finding below is the Notes editor task checkbox; the Tasks app must be re-audited when it lands.
  • Share sheet: no Share control exists anywhere on dev (note toolbar, Note info sheet and Page actions menu only offer Copy link, Pin, Delete). Not auditable.

Ranked findings

# Severity Where Repro Expected
1 High Notes editor, task checkbox (- [ ]), Chromium + WebKit, desktop + phone Open a note with - [ ] a task. Press Tab through the page: the checkbox is never reached. Focus it by script then press Space / Enter: nothing changes. Click works and saves - [x]. All boxes are named just "Task" (not the task text). Size 18 x 18 px. Reachable by Tab (or arrow-in-editor with a documented key), Space toggles, name = the task text, state announced, target at least 44 px (hit area)
2 High Sheets: Note info, Style, Chromium + WebKit, desktop + phone Open Note info. role=dialog but no aria-modal. Focus is not moved into the sheet (stays on the editor/body). Tab leaves the sheet: 12 of 25 stops land outside it (Note info), 4 of 25 (Style); phone 6/25 and 4/25. Esc closes, but focus lands on body or "All notes", not the button that opened it. Dialog with aria-modal=true, focus moves in on open, stays inside (or the rest is truly inert), Esc returns focus to the opener
3 High Search palette (desktop) and list search (phone) Open Ctrl+K, type a word, press ArrowDown twice. The combobox keeps aria-activedescendant=null and has no aria-autocomplete; screen readers cannot tell which result is highlighted (only the "1 of 1" live text exists). axe: nested-interactive (serious) on the result options, in all 4 browser/viewport sets. Phone list-search has the same combobox attributes (activedescendant null; checked with 0 results, re-check with results). Highlighted option exposed via aria-activedescendant, options not containing focusable children
4 Medium Resize handles "Resize places" and "Resize the list" (desktop) Tab to a handle. It is focusable and named, but outline-style: none while :focus-visible is true: no ring at all. (Arrow-key resizing not tested.) Visible accent ring like every other control
5 Medium "Filter this list" field Tab into it. The ring is a square (border-radius: 0 on the input) drawn around a rounded pill field. Ring radius = the container's radius
6 Medium Touch targets under 44 px (phone, both browsers) Note toolbar buttons 36 x 36 (New note 72 x 36); task checkbox 18; "Today / Just now, show the exact date" 19-25 px high; Note info property rows 28; Copy link / Pin / Delete 32; Settings: See-through / Frost 28 x 28 (12 x 12 in WebKit), switches 42 x 25, theme and Backdrop/Page segments 40, tab pill 52 x 40, Done 40. At least 44 x 44 hit area (can be invisible padding)
7 Medium List rows, keyboard + touch Rows have no visible menu button, tabindex=-1 (arrow keys move). Space, x, Delete do nothing. Menu opens by right-click (all) and Shift+F10 / Menu key in Chromium; in WebKit Shift+F10 opens nothing. Phone: long-press could not be confirmed in emulation (needs a real device). Open #400 covers swipes. A non-swipe, non-pointer route to Pin / Copy link / Delete from the row in every browser
8 Medium Palette preview pane (desktop, empty/no-match state) axe scrollable-region-focusable (serious): the preview scroller is not keyboard focusable. Focusable or not scrollable
9 Medium Phone screens (list, empty states, Pinned, Trash, tag) axe landmark-one-main on 6 scenes: no main landmark on the phone layout (desktop has one). One main landmark per screen
10 Low Palette "esc" chip axe label-content-name-mismatch (serious by axe): visible text "esc", different accessible name. Name contains the visible text
11 Low Toast / Undo live regions After Delete the role=status "Notification" region still held the Note info sheet text (mid-morph), plus 4 empty span role=status elements. A polite Notifications region exists. Undo is reachable with one Tab and works. Only the toast text announced
12 Low All screens axe region (moderate) 13-20 scenes: handles, bars and stacked screens sit outside landmarks. Content inside landmarks

Counts: Critical 0, High 3, Medium 6, Low 3 (12 findings).

Checked and fine

  • Tab order is sensible on every screen (Skip link, sidebar, list, editor, tools), wraps to the page start, no traps. Rings elsewhere: 2 px solid accent, offset 2 px, radius follows each control (sidebar and list rows 9 px, tools 8 px / pill).
  • Esc closes every sheet, menu and palette; row menu returns focus on the keyboard path.
  • Shortcuts listed in Settings > Keyboard: 22 of 23 verified working in Chromium and WebKit desktop (bold, italic, strike, code, highlight, h1-h3, duplicate, delete, undo, insert, palette, settings, sidebar, focus, new, log, prev, next, leave). Not confirmed: Today (T), because the test page was already today; Copy link (pressed, clipboard not read).
  • Settings semantics are right: section tabs tab + aria-selected, switches switch + aria-checked, accents radio + aria-checked. Dead-click sweep (about 40 controls per scene, notes, list, 5 Settings sections): none dead.
  • Empty / error states are real and useful: Pinned ("Pin a note and it waits for you here"), Trash ("Nothing in the trash"), tag with no notes, list filter with no match (role=status + Clear filter), missing note ("This note isn't here any more" + action), palette no-match. Offline: list and palette keep working from local data.
  • Task tick persists to the server and Undo after Delete restores the note.

Not covered (needs a follow-up)

  • Real screen readers (VoiceOver, TalkBack): semantics were read from the accessibility tree and axe only.
  • Phone toast/Undo and long-press: the phone delete flow did not complete in emulation; confirm on a device.
  • Keyboard resizing of the panes, and the Tasks, Contacts and Share screens once they land.
  • Some earlier closed issues (#349 keyboard stops and focus rings, #415, #450) touched parts of this; #4 above looks like a regression of the #349 handle ring.

Run: scripts and raw output stay on dev-01 (not committed). Evidence is attached in the first comment.

Audit only, no product code changed. Rule from kayg: every item's primary action must work wherever it is shown, across pointer, touch, keyboard and screen reader, with live edits, Undo, standard menus and real empty/error states. **What was tested:** `origin/dev` @ `6be86ba0`, a local dev build with fixture notes on dev-01 (never prod data). Playwright, Chromium and WebKit, desktop 1440 and phone 402 (touch + mobile emulation), plus axe-core. Scenes: note list, note editor, Note info / Style / Insert sheets, row menu, search palette (desktop) and list search (phone), Settings (5 sections), toast/Undo, empty / missing / offline states. **Not in `origin/dev`, so not auditable yet:** - Tasks and Contacts have no UI on dev (`apps.ts` has `built: false` for both). Their UI sits in open PRs #888, #889, #893, #848, #849. The checkbox finding below is the Notes editor task checkbox; the Tasks app must be re-audited when it lands. - Share sheet: no Share control exists anywhere on dev (note toolbar, Note info sheet and Page actions menu only offer Copy link, Pin, Delete). Not auditable. ## Ranked findings | # | Severity | Where | Repro | Expected | |---|---|---|---|---| | 1 | **High** | Notes editor, task checkbox (`- [ ]`), Chromium + WebKit, desktop + phone | Open a note with `- [ ] a task`. Press Tab through the page: the checkbox is never reached. Focus it by script then press Space / Enter: nothing changes. Click works and saves `- [x]`. All boxes are named just "Task" (not the task text). Size 18 x 18 px. | Reachable by Tab (or arrow-in-editor with a documented key), Space toggles, name = the task text, state announced, target at least 44 px (hit area) | | 2 | **High** | Sheets: Note info, Style, Chromium + WebKit, desktop + phone | Open Note info. `role=dialog` but no `aria-modal`. Focus is not moved into the sheet (stays on the editor/body). Tab leaves the sheet: 12 of 25 stops land outside it (Note info), 4 of 25 (Style); phone 6/25 and 4/25. Esc closes, but focus lands on `body` or "All notes", not the button that opened it. | Dialog with `aria-modal=true`, focus moves in on open, stays inside (or the rest is truly inert), Esc returns focus to the opener | | 3 | **High** | Search palette (desktop) and list search (phone) | Open Ctrl+K, type a word, press ArrowDown twice. The combobox keeps `aria-activedescendant=null` and has no `aria-autocomplete`; screen readers cannot tell which result is highlighted (only the "1 of 1" live text exists). axe: `nested-interactive` (serious) on the result options, in all 4 browser/viewport sets. Phone list-search has the same combobox attributes (activedescendant null; checked with 0 results, re-check with results). | Highlighted option exposed via `aria-activedescendant`, options not containing focusable children | | 4 | Medium | Resize handles "Resize places" and "Resize the list" (desktop) | Tab to a handle. It is focusable and named, but `outline-style: none` while `:focus-visible` is true: no ring at all. (Arrow-key resizing not tested.) | Visible accent ring like every other control | | 5 | Medium | "Filter this list" field | Tab into it. The ring is a **square** (`border-radius: 0` on the input) drawn around a rounded pill field. | Ring radius = the container's radius | | 6 | Medium | Touch targets under 44 px (phone, both browsers) | Note toolbar buttons 36 x 36 (New note 72 x 36); task checkbox 18; "Today / Just now, show the exact date" 19-25 px high; Note info property rows 28; Copy link / Pin / Delete 32; Settings: See-through / Frost 28 x 28 (12 x 12 in WebKit), switches 42 x 25, theme and Backdrop/Page segments 40, tab pill 52 x 40, Done 40. | At least 44 x 44 hit area (can be invisible padding) | | 7 | Medium | List rows, keyboard + touch | Rows have no visible menu button, `tabindex=-1` (arrow keys move). Space, x, Delete do nothing. Menu opens by right-click (all) and Shift+F10 / Menu key in Chromium; **in WebKit Shift+F10 opens nothing**. Phone: long-press could not be confirmed in emulation (needs a real device). Open #400 covers swipes. | A non-swipe, non-pointer route to Pin / Copy link / Delete from the row in every browser | | 8 | Medium | Palette preview pane (desktop, empty/no-match state) | axe `scrollable-region-focusable` (serious): the preview scroller is not keyboard focusable. | Focusable or not scrollable | | 9 | Medium | Phone screens (list, empty states, Pinned, Trash, tag) | axe `landmark-one-main` on 6 scenes: no `main` landmark on the phone layout (desktop has one). | One `main` landmark per screen | | 10 | Low | Palette "esc" chip | axe `label-content-name-mismatch` (serious by axe): visible text "esc", different accessible name. | Name contains the visible text | | 11 | Low | Toast / Undo live regions | After Delete the `role=status` "Notification" region still held the Note info sheet text (mid-morph), plus 4 empty `span role=status` elements. A polite `Notifications` region exists. Undo is reachable with one Tab and works. | Only the toast text announced | | 12 | Low | All screens | axe `region` (moderate) 13-20 scenes: handles, bars and stacked screens sit outside landmarks. | Content inside landmarks | Counts: Critical 0, High 3, Medium 6, Low 3 (12 findings). ## Checked and fine - Tab order is sensible on every screen (Skip link, sidebar, list, editor, tools), wraps to the page start, no traps. Rings elsewhere: 2 px solid accent, offset 2 px, radius follows each control (sidebar and list rows 9 px, tools 8 px / pill). - Esc closes every sheet, menu and palette; row menu returns focus on the keyboard path. - Shortcuts listed in Settings > Keyboard: 22 of 23 verified working in Chromium and WebKit desktop (bold, italic, strike, code, highlight, h1-h3, duplicate, delete, undo, insert, palette, settings, sidebar, focus, new, log, prev, next, leave). Not confirmed: Today (T), because the test page was already today; Copy link (pressed, clipboard not read). - Settings semantics are right: section tabs `tab` + `aria-selected`, switches `switch` + `aria-checked`, accents `radio` + `aria-checked`. Dead-click sweep (about 40 controls per scene, notes, list, 5 Settings sections): none dead. - Empty / error states are real and useful: Pinned ("Pin a note and it waits for you here"), Trash ("Nothing in the trash"), tag with no notes, list filter with no match (`role=status` + Clear filter), missing note ("This note isn't here any more" + action), palette no-match. Offline: list and palette keep working from local data. - Task tick persists to the server and Undo after Delete restores the note. ## Not covered (needs a follow-up) - Real screen readers (VoiceOver, TalkBack): semantics were read from the accessibility tree and axe only. - Phone toast/Undo and long-press: the phone delete flow did not complete in emulation; confirm on a device. - Keyboard resizing of the panes, and the Tasks, Contacts and Share screens once they land. - Some earlier closed issues (#349 keyboard stops and focus rings, #415, #450) touched parts of this; #4 above looks like a regression of the #349 handle ring. Run: scripts and raw output stay on dev-01 (not committed). Evidence is attached in the first comment.
Author
Owner

Evidence

chromium-desktop-palette-results.png

chromium-desktop-ring-filter.png

chromium-phone-note.png

chromium-phone-sheet-Note-info.png

Shots: desktop Note info sheet (focus is not inside it), palette results, the Filter field focus ring (square ring around a rounded field), phone note and phone Note info sheet. axe-summary.json = axe violations grouped by rule with the scenes they appear in; ux-audit-evidence.json = every scan (axe per scene, Tab walks without the sequences, tap targets, dialog probes, shortcut results) per browser and viewport.

## Evidence - [axe-summary.json](https://git.kayg.org/attachments/35d6c361-854b-4195-9d47-759b918ffda8) - [ux-audit-evidence.json](https://git.kayg.org/attachments/a58895f5-40ad-45bb-af6b-4479565eadaa) ![chromium-desktop-sheet-Note-info.png](https://git.kayg.org/attachments/bd74b639-49ee-4d5e-97de-0198fbc1385a) ![chromium-desktop-palette-results.png](https://git.kayg.org/attachments/04630ff2-2a2a-4981-a75e-436ac90e702c) ![chromium-desktop-ring-filter.png](https://git.kayg.org/attachments/2298c4a1-ba9f-4229-87b4-7c1eee52b9fc) ![chromium-phone-note.png](https://git.kayg.org/attachments/ecfbd223-791b-4898-b21e-dd9848fb22f3) ![chromium-phone-sheet-Note-info.png](https://git.kayg.org/attachments/aa37a809-2730-4efe-83b1-959c34e476c6) Shots: desktop Note info sheet (focus is not inside it), palette results, the Filter field focus ring (square ring around a rounded field), phone note and phone Note info sheet. `axe-summary.json` = axe violations grouped by rule with the scenes they appear in; `ux-audit-evidence.json` = every scan (axe per scene, Tab walks without the sequences, tap targets, dialog probes, shortcut results) per browser and viewport.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal#935
No description provided.