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

Badge images are missing meaningful alternative text #389

Closed
greatislander opened this issue Sep 10, 2020 · 1 comment
Closed

Badge images are missing meaningful alternative text #389

greatislander opened this issue Sep 10, 2020 · 1 comment
Labels
bug Something isn't working
Projects
Milestone

Comments

@greatislander
Copy link
Member

greatislander commented Sep 10, 2020

Describe the bug

The badge images introduced in a recent build are missing meaningful alternative text. They have the default alternative text which WordPress supplies if none is entered, e.g.:

This image has an empty alt attribute; its file name is Badges_draft-2-07-300x300.jpg

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://dev--wecount.netlify.app/badges.
  2. Inspect any badge image.
  3. Observe that meaningful alternative text is not present.

Expected behavior

All images should include meaningful alternative text.

Additional context

A helpful tool for ensuring this is demonstrated in Pinecone, which blurs images which are missing alternative text: https://pinecone.platform.coop/components/detail/image--missing-alternative-text.html. The same principle could be used to apply a blur to images with alt text beginning with This image has an empty alt attribute. Blurred images would appear on the development site which would help prevent them from being published without meaningful alt text.

@greatislander greatislander added the bug Something isn't working label Sep 10, 2020
@greatislander
Copy link
Member Author

I'm noticing that this issue is not present on the production site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
2.3.0
Done
Development

No branches or pull requests

2 participants