Conversation
| } | ||
| } | ||
|
|
||
| // Fixes a Safari+VoiceOver bug, where the screen reader text is announced not respecting the source order. |
There was a problem hiding this comment.
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.
|
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: autoto screen reader text within buttonsFixes #13219