-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Slash inserter: VoiceOver doesn't read the correct menu option names. #8462
Comments
Noting there's also a core Trac ticket about this issue, where "sometimes the wrong option gets announced". See https://core.trac.wordpress.org/ticket/38637 |
@kjellr @afercia Looks like this may have been fixed in Safari. Tested in v12.01 and could not replicate. If I had to guess I'd say that this was caused by the initial focus of the popover being set to the first item instead of the container, so there was an offset happening. Ran the test three times with the same results. |
@timwright12 Thanks for looking into this. Yep, seems to me this is something that regressed at some point in Safari / VoiceOver and it relates to all the ARIA combobox implementations, not only the Gutenberg inserter. As mentioned in https://core.trac.wordpress.org/ticket/38637 the classic editor Tags autocompleter used to work in macOS El Capitan + Safari 9. Then stopped working properly starting from macOS Sierra + Safari 10. Also the W3C examples linked in the Trac ticket didn't work. Testing both in Gutenberg (e.g. slash inserter, @ mentions, Tags suggestions) and in the classic editor (Tags suggestions) seems everything works as expected in Safari 12 / VoiceOver 9. It would be great to test again with Safari 11, to confirm it's a user agent bug. Maybe WCUS contributor day would be a good opportunity to make a call for someone who's still on Sierra 🙂 If confirmed, I'd tend to think there's no much we can do. For the future, I'd suggest to change the auto-completers to meet the ARIA 1.1 implementation, which is slightly different from the ARIA 1.0 one (links in the Trac ticket) and seemed to work better with Safari 11. Of course, we should make sure the new ARIA 1.1 implementation is supported by all the main browsers / screen readers combinations. That would require a new round of testing and I'd say it should preferably be addressed in a separate issue. |
See related #12254 |
@joedolson @kjellr |
I just tested on my Mac running OSX 10.15.7 I heard the correct voiceover and saw the correct labels. Voiceover-Gutenberg.mp4I believe this issue can be closed. |
@paaljoachim, @kjellr, should we close this issue? |
I tried this on Safari 16.5.2 with VoiceOver, and VoiceOver did not read out any block names. slash-inserter-voiceover-safari.mp4It works well with Chrome and VoiceOver on macOs. |
Is this problem still occurring in Safari? I'm on a Windows machine, so I can't test it in Safari, but it seems to work fine in Chrome/Firefox.
0fdefdbda2c5463e457be703e045510b.mp4 |
It's better, the items are announced, but it doesn't announce the currently selected item when you first type a letter or as you continue typing 🤔 It looks like #54902 fixed some issues related to this, and that it stopped working was down to Safari being buggy. |
Describe the bug
VoiceOver's narration of the items in the
/
inserter is often out of sync with the actual selection.To Reproduce
/
to open the slash inserter.Expected behavior
I expected VoiceOver to read the correct block names.
Actual behavior
When you first hit
/
, VoiceOver lets you know there are 10 results, but it does not alert you to the currently selected option. As you begin to navigate down using the arrow keys, VoiceOver often says the incorrect block name.Screenshots
Desktop
The text was updated successfully, but these errors were encountered: