AriaVocabulary

io.github.frikit.twirlspec.aria.AriaVocabulary

The parts of the ARIA specification a static checker can hold a page to.

Names, values and relationships are all in the markup, so they need no browser: what an assistive technology does with aria-expanded="yes" is decided before anything is painted.

Attributes

Source
AriaVocabulary.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete fields

val attributes: Set[String]

Every attribute in ARIA 1.2.

Every attribute in ARIA 1.2.

Attributes

Source
AriaVocabulary.scala
val autocompleteModifiers: Set[String]

Prefixes a token may carry before the field name.

Prefixes a token may carry before the field name.

Attributes

Source
AriaVocabulary.scala
val autocompleteTokens: Set[String]

The autocomplete tokens the HTML specification defines.

The autocomplete tokens the HTML specification defines.

Attributes

Source
AriaVocabulary.scala
val globalAttributes: Set[String]

The states and properties every role takes, ARIA 1.2's global ones, which make a browser expose an element with its own role though it is marked presentational. aria-hidden is left out, since whether it counts depends on its value: true hides the element altogether.

The states and properties every role takes, ARIA 1.2's global ones, which make a browser expose an element with its own role though it is marked presentational. aria-hidden is left out, since whether it counts depends on its value: true hides the element altogether.

Attributes

Source
AriaVocabulary.scala
val noMixedState: Set[String]

Roles that are either on or off, on which aria-checked="mixed" is read as false.

Roles that are either on or off, on which aria-checked="mixed" is read as false.

Attributes

Source
AriaVocabulary.scala
val requiredAttributes: Map[String, Set[String]]

Attributes

Source
AriaVocabulary.scala
val requiredChildren: Map[String, Set[String]]

Roles that are empty without at least one of these inside.

Roles that are empty without at least one of these inside.

Attributes

Source
AriaVocabulary.scala
val requiredParents: Map[String, Set[String]]

Roles that are only meaningful inside one of these.

Roles that are only meaningful inside one of these.

Attributes

Source
AriaVocabulary.scala
val requiredWhenExpanded: Map[String, Set[String]]

What a role needs only while it is expanded: an open combobox names the popup it controls, which a closed one may not have rendered yet.

What a role needs only while it is expanded: an open combobox names the popup it controls, which a closed one may not have rendered yet.

Attributes

Source
AriaVocabulary.scala
val requiredWhenFocusable: Map[String, Set[String]]

Roles that mean nothing without these attributes if they can take focus: a separator that moves is a control, and one that does not is a line.

Roles that mean nothing without these attributes if they can take focus: a separator that moves is a control, and one that does not is a line.

Attributes

Source
AriaVocabulary.scala
val roles: Set[String]

Every role in ARIA 1.2, abstract roles excluded: those are not allowed in markup.

Every role in ARIA 1.2, abstract roles excluded: those are not allowed in markup.

Attributes

Source
AriaVocabulary.scala
val tokenValues: Map[String, Set[String]]

Attributes whose value has to come from a fixed list.

Attributes whose value has to come from a fixed list.

Attributes

Source
AriaVocabulary.scala