Skip to content

Accessibility

Note

The short accessibility note for v1 that Development Readiness listed as design item 5 and M4 Brief W7 asked for. It collects what is already decided in Block Reference (roles, names, states) and adds the rules for contrast, reduced motion and the order of announcements that every widget follows. The keyboard half, focus order and keyboard operation, is M6 Brief and is not written here. The vault session wrote this note from the existing decisions; nothing here was tested with a screen reader. #needs-verification

Note

The active-descendant relation is requested (2026-11-17) A focused text field with a list should name the selected row as its active descendant, with no focus move (TRE-REQ-023 Active Descendant). tre built it on a local branch on 2026-11-17 (unreleased): the property is set on the field, and a screen reader sees the focused state move to the row while tre's focus stays on the field, not an ActiveDescendantChanged signal. How a layout names the list is decided in ADR-0023 Active Descendant Key (2026-11-21): the TextInput key Active_Descendant: <List name>. Until it is released and tried with Orca the Launcher announces the selection with polite messages.

Note

tre 0.6.9 can announce without a node (2026-11-17) Window.announce(text, politeness) exists in tesserae-engine 0.6.9 (TRE-REQ-021 Announce Without a Node). The shell's engine floor is 0.6.9 (tess-shell PR #56, merged 2026-11-17, by the code session's report) and announcements are Window.announce now, not live regions: the 1x1 live Box per module, the announcement value and the zero-width-space toggle are gone. A hidden module, a repeated message and the last window closing (Tasks) are announced correctly. The code session tested it through a real AT-SPI bus (polite and assertive announcements, a repeated text heard each time, a hidden module heard). Not heard with Orca yet: that is the maintainer's M7g line.

Note

Announcements go through one window (maintainer, 2026-11-19) tre keeps the order of Window.announce calls within one window, one message per update, about 100 ms for six (TRE-REQ-027 Announce Keeps Call Order, built on tre's branch for 0.6.10). Order across the windows of one App is not guaranteed. The maintainer chose that the shell sends every ctx.announce through a single window, so the order holds for everything the shell says. The window is the highest surface in the tree, whichever is first built and at the top: a Frame if the shell uses one, otherwise a Bar (maintainer, 2026-11-19); whether Orca reads an announcement from a window that is not focused is untested and goes on the Orca line of Hand Checks. Built after tre releases 0.6.10.

Purpose and Scope

  • State the rules every block and module follows so Standard Modules does not repeat them.
  • Goal G7 of Goals and Non-Goals (usable by everyone) is the reason: roles and names for assistive technology, reduced motion, high contrast.
  • Out of scope: focus traversal and keyboard operation (M6 Brief); what tre exposes to AT-SPI beyond the properties named here (tre's role, label, live, a11y_hidden and state flags, as read in Block Reference > Accessibility).

Rules

# Rule Source
1 Every interactive block or module has a role and a name. A block that shows text carries the Label, because a text node's words are not exposed alone Block Reference > Accessibility
2 A control with only an icon must have a Label; the shell warns at load if it has none Standard Modules > Button
3 A decorative image, icon or shape is A11y_Hidden unless it has a Label Block Reference > Accessibility Defaults
4 State flags (checked, selected, expanded, pressed, value) are set by the module that has them, never written by the author Block Reference > Accessibility
5 Enabled: false sets the state disabled and the style state Disabled and makes the block ignore input Block Reference > State
6 Live marks a region whose changes are announced: POLITE for a status value (a clock, a volume), ASSERTIVE only for something the user must act on Block Reference > Accessibility
6a Shortcut mode shows a hidden Bar and moves focus into it, so a keyboard user can reach a Bar that auto-hides (decided 2026-11-21); the Bar's name and role are announced as for any focus move, and leaving the mode hides it again Focus and Keyboard, Bar > Auto-hide (Decided 2026-10-27)
7 An animation honours reduced motion: the state switches at once, with no slide or fade (the surface slide, Expander, Toggle, Marquee text, ProgressBar fill, peek and handles) Goals and Non-Goals G7, Frame
8 Colour is never the only carrier of a state: a selected, checked or disabled widget differs in more than colour WCAG 2.2, 1.4.1 (stated here as a v1 rule)
9 Text contrast of at least 4.5 to 1 against its background in the shipped themes, 3 to 1 for large text and for icons and widget edges WCAG 2.2, 1.4.3 and 1.4.11 (the shipped themes are to be checked, which the code session does with a script in M4)
10 Under the desktop's high-contrast setting the shell follows it where the portal reports it; this desktop has no such setting, so it is tested headless only Portals, M3 Build Log
11 A tooltip's text is also the block's description, so it is not the only way to learn what a control does Standard Modules > Tooltip
12 A Popup or menu that opens returns the user to the opener when it closes (keyboard focus is M6 Brief; the pointer-only case needs nothing) Popup

What Is Not Decided

  1. The shell sets an accessible description, separate from the Label, from a tooltip (maintainer, 2026-11-10, as recommended; rule 11).
  2. Contrast checking: a script over the shipped themes (rule 9) in M4 and no runtime warning in v1 (maintainer, 2026-11-10, as recommended).
  3. A screen-reader test: one pass in M6, when the keyboard exists (maintainer, 2026-11-10, as recommended).
  4. High contrast and reduced motion on desktops other than KDE: build with the best estimate, test and tweak later (maintainer, 2026-11-10). The portal path reports both where the desktop does (Portals).

Disabled Blocks (Decided 2026-11-13)

A disabled block and its descendants take no hover, press, click or tooltip (a cut Marquee text keeps its whole-text tooltip), so assistive technology sees the state disabled and the pointer does nothing. The full rule is in Standard Modules > As Built in M4 and Decided 2026-11-13.

Acceptance Criteria

  • Every interactive widget of Standard Modules sets role, name and state, in a headless test that reads the accessibility tree (window.simulate, Testing Strategy).
  • An icon-only control without a Label warns at load.
  • Reduced motion switches every animated widget at once, in a test that sets the flag.
  • The shipped themes meet rule 9, by a script that reports each pair.