Skip to content
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

Add role="presentation" for Empty Alt Text in Image Block #3401

Open
benniledl opened this issue Jan 23, 2025 · 0 comments
Open

Add role="presentation" for Empty Alt Text in Image Block #3401

benniledl opened this issue Jan 23, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@benniledl
Copy link

I’ve noticed that the Image Block in your plugin doesn’t automatically add the role="presentation" attribute when the alt text is left empty. This is important for accessibility compliance, as decorative images should explicitly be marked as presentational to ensure a better experience for screen reader users and meet standards like the European Accessibility Act (EAA) and WCAG 2.1.

Without this functionality, websites using your plugin may risk being non-compliant with EU accessibility laws, which could lead to legal and financial consequences for website owners.

Could you consider implementing this functionality in future updates? It would greatly enhance accessibility support and align with best practices.

@benniledl benniledl added the enhancement New feature or request label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant