v0.6.371: accessibility phases 0+1 (#638), docs catch-up and compliance mapping (#847) #1047

Merged
Cordy merged 9 commits from ra11y into main 2026-10-29 00:27:02 +00:00
Owner
  • #638 phase 0: gating axe-core check (pinned jsdom + axe-core, shrinking baseline) in CI, webcheck pattern checks. Phase 1: keyboard Upload, APG menu-button helper for every menu, file list table semantics, focus + announcement on folder navigation, labels, current/pressed/checked states. No visual changes (the session warning waits for its mockup).
  • Docs: ARCHITECTURE.md brought up to v0.6.370 (+ accessibility section); new handbook page Compliance support and extended ISO 27001 / ISO 9001 7.5 mapping (#847); purge-log, encryption-scope and retention clarifications; UI text corrections for the purge log (#1045).
  • Repo wiki working log updated for v0.6.362 to v0.6.370.

Review + fix round; web suite, a11y tests, webcheck green locally.

- #638 phase 0: gating axe-core check (pinned jsdom + axe-core, shrinking baseline) in CI, webcheck pattern checks. Phase 1: keyboard Upload, APG menu-button helper for every menu, file list table semantics, focus + announcement on folder navigation, labels, current/pressed/checked states. No visual changes (the session warning waits for its mockup). - Docs: ARCHITECTURE.md brought up to v0.6.370 (+ accessibility section); new handbook page Compliance support and extended ISO 27001 / ISO 9001 7.5 mapping (#847); purge-log, encryption-scope and retention clarifications; UI text corrections for the purge log (#1045). - Repo wiki working log updated for v0.6.362 to v0.6.370. Review + fix round; web suite, a11y tests, webcheck green locally.
security-standards.md: ISO/IEC 27001:2022 Annex A rows for A.5.14, A.5.15 (sharing from spaces),
A.5.18 (shares), A.5.28, A.5.30, A.5.33, A.5.34, A.8.9, A.8.10, A.8.11, A.8.12, A.8.13 (operator,
backup target), A.8.15 (configuration), A.8.20/A.8.22, A.8.24 (at rest), each with where to
configure it; a gaps table (A.5.12/5.13 labels, A.8.7 malware #1022, SIEM push, mail alerts #896,
local MFA, crypto-erasure, high availability); ISO 9001 clause 7.5 rows (ISO 9001:2026 published
2026-09-16, clause numbers Check); notes on ISO 22301, ISO/IEC 27701:2025, ISO 15489-1; new
features in the feature list. New compliance-support.md (what Cairn helps with, what it is not,
shared responsibility, vendor data flows, privatim resolution, ISDS/DPIA/audit inputs); index row.
- Upload is a real button everywhere (toolbar, empty folder, profile
  picture) that opens a hidden file input; the New menu offers Upload too.
- One APG menu-button helper (pure:apg-menu) for the row and space menus,
  New, sort, view, user, search scope, phone More, seat, peer/retention/
  space and account kebabs: aria-haspopup/expanded/controls, focus on the
  first item, arrows with wrap, Home/End, Escape back to the opener, Tab
  closes, items are menuitem/menuitemradio, an activated item hands focus
  back to the opener first. Notifications, view options and the spaces
  help are disclosures (aria-expanded), not menus.
- File list: ARIA table roles over the existing grid (table, row,
  columnheader, rowgroup, cell; aria-sort on the sorted column), rows
  aria-selected, lock icon role=img with "Locked by", tiles a list; the
  empty state and missing-space notice sit in one row/cell.
- Folder navigation: a visually hidden h2 names the folder and takes
  focus when the used control went away; a polite live region says
  "<folder>, <n> items"; the boot listing never takes focus. Other views'
  title is role=heading level 2.
- Names for the controls axe found unlabelled (aria-labelledby to the
  visible text, data-i18n-aria with existing keys, six new keys).
- Selected state: aria-current on the sidebar view, account rail, admin
  tabs and current breadcrumb; aria-checked on sort/view/scope items;
  aria-pressed on share filter segments and the search Modified filter.
- internal/webcheck: label-as-button, literal English aria-label, and
  role=menu with non-item children are now caught in every page.
- web/test/a11y/app.test.js: the whole app in jsdom (harness.js), 31
  tests for the above. CI runs every web/test/a11y/*.test.js.
- axe baseline 59 -> 27 (the rest are named by script at run time).
- Existing tests updated where they pinned the old markup or lifted a
  menu function: qa743, qa786 (columnheader roles), qa751, devices895c
  (date input label), row-menu, shareroot973, qa865b (apgOpen stub).
- Details pane: ArrowUp/ArrowDown already used by a menu or a closed menu
  button (defaultPrevented) no longer step to the next file.
- Menus: after an item ran, a menu still showing (the Help link, an item
  that stops the click) is closed and the helper state reset.
- New menu: the Upload entry is gone again (a visible change outside
  phase 1); Upload stays in the toolbar and the empty folder.
- Profile picture buttons: the focus ring sits inside the pill.
- Menus are named by their opener (aria-labelledby, or its label); the
  open-on-last-item wish lives on the button; peer, retention and space
  kebabs and the phone More button carry aria-haspopup="menu" and
  aria-expanded="false" from creation; the live region writes its text a
  moment after the clear; the root folder's heading is "Files" in the UI
  language; the type, lock and actions column headers have visually
  hidden names (new key a11yColLock).
- The helper block is marked ui:apg-menu (it uses the DOM).
- internal/webcheck: a label with tabindex="0" is still flagged; single-
  quoted aria-label values and labels built with createElement("label")
  given the btn class or a file input's id are caught.
- CI: the accessibility step checks for Node 18 or newer and runs
  npm ci --prefer-offline.
- a11y harness: a 15 s boot budget that fails with "boot timeout", and
  every test fails on any script error.
- UI texts (tpuAudited, trashRetHint) and README: manual purges and the
  sweep's per-file entries are recorded while access logging is on; the
  sweep's summary always.
Cordy merged commit 68a1db9de1 into main 2026-10-29 00:27:02 +00:00
Cordy deleted branch ra11y 2026-10-29 00:27:05 +00:00
Sign in to join this conversation.
No reviewers
No labels
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: Cordy/Cairn#1047
No description provided.