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

fix accessibility in AutoSizedImage #1640

Merged
merged 2 commits into from
Oct 31, 2023
Merged

Conversation

elijah-wright
Copy link
Contributor

@elijah-wright elijah-wright commented Oct 8, 2023

setting the alt tag on the parent component (the Pressable) won't apply to divs on web. the image should receive the alt tag.

additionally, VoiceOver Recognition uses on-device machine learning to detect what an image is depicting, so it's probably not necessary to state that it's an image (which is what the purpose of the role is). I don't think TalkBack has this functionality but I might be wrong there.

@pfrazee pfrazee self-assigned this Oct 25, 2023
@pfrazee pfrazee merged commit dbbd71c into bluesky-social:main Oct 31, 2023
3 of 4 checks passed
@pfrazee
Copy link
Collaborator

pfrazee commented Oct 31, 2023

Oh my goodness, correct you were and I can't believe we didn't notice web was dropping this. 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants