github/accessibility-alt-text-bot

Feature request: Display the inaccessible alt text within the comment body

Opened this issue · 2 comments

Hi Accessibility-alt-text-bot team :)

Context ❓

When the bot detects inaccessible alt text, or missing alt text, its target is generalized to "in the PR body" or "in the issue body", for example. However, if the issue body, for example, has multiple images, it's not clear which one is missing alt text from the comment itself.

Idea 💡

In the comment body, display which alt text is not accessible and/or which image has inaccessible / missing alt text.

Example inaccessible images for testing purposes.

First one:

Image

and a second one:

Image

Uh oh! @inkblotty, the image you shared is missing helpful alt text. Check #46 (comment).

Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image.

Learn more about alt text at Basic writing and formatting syntax: images on GitHub Docs.

🤖 Beep boop! This comment was added automatically by github/accessibility-alt-text-bot.