You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I work with a colleague who is visually impaired, and who uses a screen reader to interact with GitHub. We recently migrated our workflows to GitHub Actions, and he reports an accessibility challenge relating to any GitHub Actions badges in the README.md files for a repo.
The HTML generated during processing of the markdown file is given below. It has been anonymized, and has been reformatted for legibility.
The alt text of "ECR image status" comes directly from the text in the markdown that appears in our README.md file. Unfortunately, this text does not include the passing/failing status of the workflow.
My colleague opened the SVG file referenced in the <img> tag. We assume that the SVG object is generated dynamically based on the workflow state, and we found that the SVG object's <title> element reveals the workflow status as "ecr-deploy - passing", as follows:
If feasible, it would be desirable to bring that status from the generated SVG object into the alt text of the <img> object in the rendered markdown. This would allow the screen reader to verbalize the workflow's status without having to manually dig into the SVG object.
ActionsBuild, test, and automate your deployment pipeline with world-class CI/CDProduct FeedbackShare your thoughts and suggestions on GitHub features and improvements
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I work with a colleague who is visually impaired, and who uses a screen reader to interact with GitHub. We recently migrated our workflows to GitHub Actions, and he reports an accessibility challenge relating to any GitHub Actions badges in the
README.mdfiles for a repo.The HTML generated during processing of the markdown file is given below. It has been anonymized, and has been reformatted for legibility.
The
alttext of "ECR image status" comes directly from the text in the markdown that appears in ourREADME.mdfile. Unfortunately, this text does not include the passing/failing status of the workflow.My colleague opened the SVG file referenced in the
<img>tag. We assume that the SVG object is generated dynamically based on the workflow state, and we found that the SVG object's<title>element reveals the workflow status as "ecr-deploy - passing", as follows:If feasible, it would be desirable to bring that status from the generated SVG object into the
alttext of the<img>object in the rendered markdown. This would allow the screen reader to verbalize the workflow's status without having to manually dig into the SVG object.All reactions