-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Make Safari + VoiceOver announce the screen-reader-text within buttons in the correct order #13221
Make Safari + VoiceOver announce the screen-reader-text within buttons in the correct order #13221
Conversation
@@ -223,6 +223,11 @@ | |||
color: color(theme(outlines) shade(25%)); | |||
} | |||
} | |||
|
|||
// Fixes a Safari+VoiceOver bug, where the screen reader text is announced not respecting the source order. |
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.
Could we include a reference link as part of the inline comment, perhaps to the Trac ticket or some of the debugging from the related HTML5 Boilerplate discussion, as without it, it'd be more difficult to revisit as part of future maintenance should the bug become resolved in Safari, or a better alternative proposed.
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.
Done.
Testing instructions:
|
This appears to solve the issue for me in Safari, but the problem also exists (and is not fixed by these changes) for Voiceover in Chrome. Is that expected? Is this intended to serve as a temporary fix, with a more durable one planned to be applied for all |
A more durable fix would be Apple fixing this bug 🙂
If there are more places where Re: Chrome, I wouldn't be too concerned, as many other things don't work so well with VoiceOver + Chrome and users know the best combo is Safari + VoiceOver. The reason why it doesn't work on Chrome is the inconsistent implementation of absolutely positioned flex items across browsers. In Chrome,
The only way I can think of to fix this is by applying Worth reminding the same fix is going to land in core, see https://core.trac.wordpress.org/ticket/42006 |
…s in the correct order (#13221) * Add height auto to screen reader text within buttons. * Add reference links to the inline comment.
…s in the correct order (#13221) * Add height auto to screen reader text within buttons. * Add reference links to the inline comment.
Description
Fixes a Safari + VoiceOver bug where the screen-reader-text within buttons is announced not respecting the source order. For more details, please see https://core.trac.wordpress.org/ticket/42006
height: auto
to screen reader text within buttonsFixes #13219