Conversation
Member
maelle
commented
Jun 3, 2025
- I made each div in the gallery (each figure) aria-hidden.
- Along each aria-hidden div I added an sr-only (screenreader only in the Bootstrap version we use) paragraph that says "a picture:" and then the alternative text, plus the caption between parentheses if there is one.
Member
Author
This comment was marked as resolved.
This comment was marked as resolved.
Member
Author
|
👋 @LizHareDogs! Would you mind trying https://deploy-preview-1065--ropensci.netlify.app/blog/2023/02/27/runiverse-discovering/ for instance? The pesky divs are aria-hidden, but I wonder if you get all the "sr-only" paragraphs, and whether the text in those is ok. Since the "sr-only" paragraphs are not images I added "A picture" to the text but that might not be the best way to provide context for the alternative text. Thank you and no hurry! |
|
Hi maelle
I can get to this hopefully Thursday or Friday- if not, over the weekend. I tend to get into rabbit holes describing these things :)
|
Member
Author
|
Thank you Liz! |
Member
Author
|
@LizHareDogs just a reminder for when you have time, but really there is no hurry. Thank you! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.