-
Notifications
You must be signed in to change notification settings - Fork 13.5k
fix(toggle): ensure proper visual selection when navigating via VoiceOver in Safari #30349
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
Turns out, it was pretty easy. Was worried that I'd need to update screenshots, but nope. |
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.
LGTM
Issue number: resolves internal
What is the current behavior?
Currently, MacOS voice over on Safari does not recognize ion-toggle correctly and fails to highlight the element properly
What is the new behavior?
By adding the role property to the host element, we're correctly identifying the toggle so Safari knows how to handle it.
Does this introduce a breaking change?
Other information