-
Notifications
You must be signed in to change notification settings - Fork 64
Add license explanation to close button label #1398
Conversation
Storybook and Tailwind configuration previews: Ready Storybook: https://wordpress.github.io/openverse-frontend/1398 Please note that GitHub pages takes a little time to deploy newly pushed code, if the links above don't work or you see old versions, wait 5 minutes and try again. You can check the GitHub pages deployment action list to see the current status of the deployments. |
Size Change: +204 B (0%) Total Size: 1.4 MB
ℹ️ View Unchanged
|
2b18691
to
f5c967e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this is working in VoiceOver and Safari! Here is a video, apologies about the voiceover narration getting cut off by my fast navigation for much of the video.
f5c967e
to
3175542
Compare
@obulat that is the expected behavior based on the issue. I think it's also nicer for SR users because they don't have to move through the popover (which is wordy and annoying to navigate through a screen reader, FWIW). |
Fixes
Fixes #987 by @zackkrida
Description
I tried to fix this as best I can, but it needs to be tested in VO and JAWS. I'm working on JAWS, but someone with a Mac will have to help with VO.
This adds the license explanation to the close button. That way when the SR opens the popover and the close button is focused, it reads the explanation and then also declares that the close button is focused (so that the user knows they can close the popover).
Testing Instructions
Checkout this branch and go to the search results page,
/search?q=birds
then, navigating with a screen reader, open the filter sidebar and tab into it (note the experience here will improve with #1394). Focus the license explanation popover button. Open the popover and verify that the SR reads the license explanation and informs the user that they are on the close button for the popover and that you can close the popover successfully.Checklist
Update index.md
).main
) or a parent feature branch.Developer Certificate of Origin
Developer Certificate of Origin