-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Modals] Replace aria-haspopup="dialog"
with aria-describedby
#1612
Conversation
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.
Questions for reviewers.
@svinkle I have updated the PR with the following:
|
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.
Since I just merged cart drawer there is an update needed for the cart icon that you mentioned during your review :) Unless I already had changed it 🤔
Also the filter drawer is using something similar to the menu drawer so it's not announcing it as a dialog popup
but I think it should. Kinda like pick up availability.
A new translation request is needed too.
Otherwise seem good 👍
@@ -69,7 +69,8 @@ | |||
"refresh_page": "Choosing a selection results in a full page refresh.", | |||
"link_messages": { | |||
"new_window": "Opens in a new window.", | |||
"external": "Opens external website." | |||
"external": "Opens external website.", | |||
"modal_window": "dialog popup" |
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 wonder we should be using a capital D
instead 🤔 When using voice over in Safari it doesn't really make a difference but seem to make sense 🤷
2d7a0ac
to
1767a25
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.
Looks good 👍
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 looked at every page/template that was updated using voiceover, everything looks good to me.
@andrewetchen @ludoboludo Just had to dismiss your reviews to fix Translation Platform errors. Can you please reapprove it? Nothing but localization strings have been changed :) |
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.
👍🏼
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.
👍
PR Summary:
Why are these changes introduced?
Fix misleading context on modal launcher controls.
Fixes #1446
What approach did you take?
Opens a modal window
a11y translation string.aria-haspopup="dialog"
witharia-describedby
Other considerations
Testing steps/scenarios
Demo links
Checklist