Skip to content

v1.13.0 — Accessibility and project documentation

Choose a tag to compare

@ecamuto ecamuto released this 29 Jul 13:10
· 63 commits to main since this release
c36badb

Keyboard and assistive-technology support for dialogs and menus, plus the project documentation a source-available repo is expected to carry (#43).

No breaking changes. Nothing changes for mouse users — this is additive.

Added

Dialogs and dropdowns are usable without a mouse

All 15 modals were hand-rolled overlays with no role, no focus management, no Escape, and Tab that walked straight into the page behind them. They now share one useModal() primitive:

Behaviour Before
role="dialog" + aria-modal, labelled by the heading none
Focus moves into the dialog on open focus stayed on the trigger — assistive tech was never told anything opened
Focus returns to the trigger on close lost; keyboard users restarted from the top of the page
Tab trapped inside Tab walked into the page behind the overlay
Escape closes mouse only
Backdrop click closes only if the press started there selecting text inside and releasing outside dismissed the dialog and discarded the form

Escape is handled in the capture phase, so with stacked dialogs only the innermost closes.

The six filter and export dropdowns caught outside clicks with a transparent full-screen div — a mouse-only affordance. They now close on Escape, and that backdrop is aria-hidden and stays out of the tab order.

Project documentation

  • SECURITY.md — private reporting through GitHub advisories, scope, response targets, and an explicit known limitations section: per-process rate limiting, no project-level isolation (roles restrict writes, not reads), viewer is not a confidentiality boundary, and integration credentials are stored recoverably. Stated plainly rather than left to be discovered.
  • CONTRIBUTING.md — setup, the review bar, and the conventions that are not discoverable from the code: Alembic migrations, the deliberately bundler-less frontend, i18n across five locales, and the accessibility rules above.
  • CODE_OF_CONDUCT.md — Contributor Covenant 2.1.
  • Issue forms for bugs and features, a template config that routes security reports away from public issues, and a pull-request template.

Tests

New e2e/suite20-a11y (9 tests) covering dialog semantics, focus movement and restoration, the focus trap, Escape, the drag-select case, dropdown dismissal, and the skip link — behaviour that never shows up in a screenshot and regresses silently without coverage.

Fixed

  • DOC-11 asserted text=current, which matched any element containing the word and broke with a strict-mode violation as soon as a changelog bullet used it. Scoped to the badge element.

Verified

763 backend tests · 257 e2e (run twice, clean) · 63 CLI tests · badge check · frontend build.

Full details in CHANGELOG.md.

🤖 Generated with Claude Code