AriaStandards

io.github.frikit.twirlspec.aria.AriaStandards
object AriaStandards extends RuleSet

The checks an automated accessibility tool makes that need no browser.

Roughly the static half of what axe-core reports: whether an ARIA name is real, whether its value is one the specification allows, and whether roles that only mean something together actually appear together. None of it depends on layout or paint, so it runs against the parsed page in microseconds rather than against a headless Chrome.

Attributes

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

Members list

Value members

Inherited methods

def allExcept(ids: String*): Seq[Rule]

Every rule but the ones with these ids, each of which must be in the set.

Every rule but the ones with these ids, each of which must be in the set.

Attributes

Inherited from:
RuleSet
Source
RuleSet.scala
def expectation(rules: Seq[Rule] = ...): Expectation

This set, or any subset of it, as one expectation.

This set, or any subset of it, as one expectation.

Attributes

Inherited from:
RuleSet
Source
RuleSet.scala
def only(ids: String*): Seq[Rule]

Only the rules with these ids, each of which must be in the set.

Only the rules with these ids, each of which must be in the set.

Attributes

Inherited from:
RuleSet
Source
RuleSet.scala

Concrete fields

lazy val all: Seq[Rule]

Every rule in this set, at its natural severity.

Every rule in this set, at its natural severity.

Attributes

Source
AriaStandards.scala