WCAGAA
Comment tester le critère 2.4.7 « Visibilité du focus — Toute interface utilisable au clavier comporte un mode de fonctionnement où l’indicateur de focus est visible. »
- References WCAG
- 2.4.7 Visibilité du focus (AA)
Ce que dit ce critère
Toute interface utilisable au clavier comporte un mode de fonctionnement où l’indicateur de focus est visible.
Méthodologie officielle pour tester le critère 2.4.7
Techniques officielles du W3C
Le W3C ne publie pas de procédure de test pour ce critère. Il publie des techniques : des façons documentées de le satisfaire, et les échecs qui ne le satisfont pas.
Techniques suffisantes
- G149 Using user interface components that are highlighted by the user agent when they receive focus
- C15 Using CSS to change the presentation of a user interface component when it receives focus
- G165 Using the default focus indicator for the platform so that high visibility default focus indicators will carry over
- G195 Using an author-supplied, visible focus indicator
- C40 Creating a two-color focus indicator to ensure sufficient contrast with all components
- C45 Using CSS :focus-visible to provide keyboard focus indication
- SCR31 Using script to change the background color or border of the element with focus