Labels, graphics, and status§

Give a field a visible label signal that says what the user can enter. Keep the placeholder for an example or format hint. A label remains the field’s name as its value changes. The host keeps the label beside the control and preserves the system’s edit and selection patterns.

Supply a description for asset images, raster images, and shader views. Use Described({ label }) for an informative graphic and add details: Details(text) through a signal for supplemental information. Use Decorative for an image whose information is already available nearby. A described image is available in the accessibility tree. Decorative graphics and empty raster views stay out of its control and content views. Both stay out of Tab traversal by default.

Files uses a native slider as the keyboard and automation route for its image comparison. The slider and pointer events update one value. Workers displays its variance as text alongside its meter.

Mount Ui.status_text(message, {}) once around each workflow that reports a meaningful result. The initial text is available for navigation. A later nonempty change can raise a polite live-region event without moving focus. announcement: Quiet makes the status available for reading without an announcement. Use ordinary text for frequent counts. Use the native progress control for progress. When Windows has disabled client-area animations, an indeterminate operation provides a steady busy caption.

Editable grid semantics§

The grid’s UI Automation provider exposes mounted cells with their current row, column, column header, selection, and committed value. An invalid edit leaves the value intact and makes the validation message available with the affected cell. A surviving mounted cell keeps its runtime identity when displayed at another index. The provider for a removed cell returns an unavailable-element error.

An automation edit requests the same typed commit as a keyboard edit. UI Automation observes the model after the app accepts or rejects the draft. The provider accepts bounded text for an editable cell and routes it through the owning UI thread. It rejects reads from retired providers and changes to disabled or read-only cells. The host rechecks the mount, window, and editor state before applying queued work. These checks cover the app’s own controls. Windows governs which desktop processes can use accessibility APIs.

Verify UI Automation on Windows§

Stage the host as described in Run the examples on Windows, then run the following command from an interactive Windows desktop.

blueprint run test-accessibility

The contributor probe launches the real examples, queries UI Automation from a separate MTA process, and checks names, patterns, state changes, and focus. Each app and client are terminated after the check. Add -- -FreshStarter to also scaffold and test a Reading List project with windows.roc init. The hosted accessibility workflow uses this option. For a focused run or a project created by the release launcher, invoke the same script directly.

powershell.exe -NoProfile -File tests/accessibility/run.ps1 -Example workers
powershell.exe -NoProfile -File tests/accessibility/run.ps1 -Example starter -Starter C:\work\reading-list

Record the Windows version, architecture, and display preferences with results. Then use the keyboard and Narrator for these checks.

Repeat with a Windows contrast theme, larger Text size, and mixed monitor DPI when available. Run the core Reading List check on a fresh app from the standalone initializer. Keep native Windows evidence distinct from cross-build and Wine results.