Skip to main content

SUPPORTED_ARIA_ROLES

Static SUPPORTED_ARIA_ROLES 

Source
static SUPPORTED_ARIA_ROLES: LazyLock<FxHashMap<Atom, Role>>
Expand description

A map from role names allowed in the ‘role’ attribute of an HTML element to the corresponding Role in AccessKit.

This is currently just the roles that don’t have any [supported][1] or [required][2] properties and also don’t require an [accessible name][3]. [1]: https://w3c.github.io/aria/#supportedState [2]: https://w3c.github.io/aria/#requiredState [3]: https://w3c.github.io/aria/#namefromauthor