WcagStandards

io.github.frikit.twirlspec.wcag.WcagStandards
object WcagStandards extends RuleSet

Accessibility and document-structure rules that hold for any HTML page, checked without the spec having to name a single selector.

Attributes

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

Members list

Value members

Concrete methods

def atLevel(level: Level): Seq[Rule]

Rules enforcing a success criterion at exactly this conformance level.

Rules enforcing a success criterion at exactly this conformance level.

Attributes

Source
WcagStandards.scala
def conformingTo(level: Level, version: WcagVersion = ...): Seq[Rule]

Rules for a conformance claim, which is cumulative: AA includes A.

Rules for a conformance claim, which is cumulative: AA includes A.

Attributes

Source
WcagStandards.scala
def conventions: Seq[Rule]

Rules that enforce no WCAG success criterion: structural conventions this library checks because they are widely held, not because WCAG requires it.

Rules that enforce no WCAG success criterion: structural conventions this library checks because they are widely held, not because WCAG requires it.

Attributes

Source
WcagStandards.scala
def criteria: Seq[Criterion]

The success criteria this rule set covers, deduplicated and ordered.

The success criteria this rule set covers, deduplicated and ordered.

Attributes

Source
WcagStandards.scala
def introducedIn(version: WcagVersion): Seq[Rule]

Rules introduced in exactly this version of WCAG.

Rules introduced in exactly this version of WCAG.

Attributes

Source
WcagStandards.scala

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
WcagStandards.scala