← All analysers · Framework-specific analysers

ReactA11yAnalyzer

React-specific patterns: hooks, portals, ref forwarding, event propagation.

What it detects

React's component lifecycle and reactive patterns introduce accessibility issues that don't appear in plain HTML/JS. Portals can move focus across the visible tree. `useState` toggles can hide focused elements between renders. This analyser understands React's idioms and applies the multi-model checks across them.

WCAG criteria

  • 4.1.2Name, Role, Value
  • 2.4.7Focus Visible

Source

analyzers/ReactA11yAnalyzer.ts

More