Skip to main content

Module roles

Module roles 

Source
Expand description

Closed vocabularies. Unknown members are rejected, never passed through.

Enums§

Action
A descriptive capability hint: a diagnostic, never a callback endpoint.
Capability
Something the adapter tells the driver it can provide.
Role
A v1 semantic role. ARIA-aligned and closed: unknown roles fail validation.

Constants§

ADAPTER_CAPABILITIES
Every v1 capability.
SEMANTIC_ACTIONS
Every v1 action.
SEMANTIC_ROLES
Every v1 role, in the order the reference implementation declares them.

Functions§

valid_action
Whether action is one of the v1 actions.
valid_capability
Whether capability is one of the v1 capabilities.
valid_role
Whether role is one of the v1 roles.