Expand description
Desktop accessibility semantics.
Portable, backend-agnostic metadata describing how a widget should be
announced by assistive technology: an accessible name, an optional
description, the role derived from its WidgetKind, a derived state
projection, and the action vocabulary of that role.
The shared model is intentionally small and evidence-driven: nothing here
claims that a native accessibility tree exists yet. Each backend applies
the model through its own bridge (GTK AT-SPI properties, Win32
WM_GETOBJECT/IAccessible, Cocoa NSAccessibility) in follow-up
work; a backend whose bridge has not landed returns
crate::GuiError::UnsupportedCapability from the Backend setter
instead of silently ignoring the request. See
docs/widget-expansion-roadmap.md (“Desktop accessibility semantics
“) for the design and the per-backend evidence requirements.
Structs§
- Accessibility
Spec - Accessible metadata of one widget.
- Accessibility
State - State projected from the shared widget spec at announcement time.
Enums§
- Accessible
Action - Actions assistive technology can perform on a role.
- Accessible
Role - Portable accessibility role derived from a widget kind.