Skip to content

Fix accessibility for image block with legend #454

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 7, 2025
Merged

Conversation

cedric07
Copy link
Contributor

@cedric07 cedric07 commented Apr 3, 2025

Fix du bloc image qui n'est pas conforme au RGAA critère 1.9 : https://accessibilite.numerique.gouv.fr/methode/criteres-et-tests/#1.9

  • La balise possède un attribut WAI-ARIA role="figure" ou role="group" ;
  • La balise possède un attribut WAI-ARIA aria-label dont le contenu est identique au contenu de la légende

@francoistibo
Copy link
Contributor

remarque globale : reprendre la logique du plugin fait par marie (blocs + menu PHP) ?

@cedric07 cedric07 merged commit 21f8b98 into master Apr 7, 2025
0 of 3 checks passed
@cedric07 cedric07 deleted the fix-image-block branch April 7, 2025 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants