Files
Piotr ChojnackiandClaude Opus 5.5 f304faf06f Console a11y: the sidebar, row menus and dialogs work from the keyboard
A pass against the Web Interface Guidelines. The console could not be driven from the
keyboard at all:

- Every sidebar entry was a <div onclick>, which takes no focus, so a keyboard user could
  not reach a single screen. They are links now (href="#/<id>", aria-current on the
  current one; go() still closes the drawer), and a group heading is a button with
  aria-expanded. Same look: the links keep .nav-item's colour and no underline.
- A dialog is role=dialog + aria-modal, named by its title, starts on its first field,
  makes the page behind it inert (aria-modal alone does not stop Tab) and gives focus back
  to whatever opened it. The command palette does the same, and its input is labelled.
- The ⋯ row menu button is named ("Actions"/"Akcje"); opening it moves focus to its first
  item, Escape or Tab-ing out closes it, and focus returns to the button — so the Edit
  dialog an item opens hands focus back there as well.
- Icon-only buttons (sidebar toggle, request log, search, theme, the log's close) carry an
  aria-label; the EN/PL toggle's label is its localized tooltip.
- The sign-in error is role=alert; a skip link reaches the main content (tabindex=-1);
  prefers-reduced-motion switches transitions off.

New strings have I18N.pl entries (Skip to content, Close, Search). Checked in the demo
build (scripts/build_demo.py) with real key presses; test_smoke.py's frontend tripwires
re-checked by hand, and node --check on the inline script passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 21:52:01 +01:00
..