← All analysers · Multi-model analysers

WidgetPatternAnalyzer

Validates all twenty-one WAI-ARIA widget patterns end-to-end.

What it detects

WAI-ARIA Authoring Practices defines twenty-one canonical widget patterns — combobox, dialog, tree, grid, tabs, accordion, and so on. Each has expected role, state, property, and keyboard-interaction signatures. This analyser detects which pattern an element is attempting and reports incomplete or incorrect implementations.

WCAG criteria

  • 4.1.2Name, Role, Value
  • 2.1.1Keyboard

Source

analyzers/WidgetPatternAnalyzer.ts

More