-
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
Accessibility regression: unspoken first word selection with JAWS screen reader #65267
Comments
@ellatrix any recent change in the contenteditable that may cause this issue? |
@ellatrix we've identified that #63671 is causing this bug, specifically these lines that set the content editable of the wrapper to |
@jeryj thanks for debugging this issue and identifying the root cause. @youknowriad @ellatrix if it is confirmed that #63671 introduced this regression, I think it would be good to discuss the process and how some changes are introduced in the editor without proper testing. It's not the first time that playing with writingflow, selection or focus introduces important regressions for assistive technologies and I'm not sure playing so lightly with native features is wise, especially without extensive testing. Thanks. |
Gutenberg 19.3 released and the issue is still there. It's honestly impossible to work this way! |
@WordPress/gutenberg-core this appears to be a big barrier for screen reader users. I'd kindly ask to consider a fix for the incoming WordPress 6.7 release. Raised the issue priority and added it to the 6.7 editor tasks. |
I've added the Editor Tech leads @noisysocks and @kevin940726 to the Issue for visibility. |
Is this a "nice to have" feature? If so then we should revert it and restore the usability for all users until we can find an implementation of "iOS multiselection" that doesn't regress the experience. |
It's also important to note that #63671 has made the Select All shortcut no longer work in text fields inside blocks. |
For what is worth, I'd totally support a revert until a new, non-breaking, solution for multi selection on iOS is identified. I'd also like to note that such regressions should be ideally prevented by adding specific tests. If a revert is going to happen, I'd recommend to add tests to prevent this happens again in the future. |
I take the chance to mention @joedolson and @annezazu here. |
Thanks for the ping here. I'm bummed this has happened and that you're dealing with such intense UX problems. I flag things for every single accessibility team meeting and, in this case, the multiselect change wasn't obvious to me to flag as a major feature for accessibility to work on. Most of the time, I'm trying to flag major pieces of work. I'll continue to work on this but know we are and do try to flag things as much as possible with an awareness that the accessibility team too is limited in capacity and cannot review everything. Please keep testing and sharing reports. For testing anything coming up, I highly recommend looking at PRs associated with the next Gutenberg release milestone. |
I would support a revert #63671 as well, as multiselect on iOS is a new introduction. |
In my opinion, Gutenberg is where we should expect to break things. What matters is that this does not end up in a WordPress release. Practically speaking, it is not possible for the accessibility team to review every single change prior to commit, and I reject the idea that we bear sole responsibility for that. While this is a significant bug, it is also a very subtle bug, and could easily have been missed in testing. I will say, however, that when the PR includes the line "The one consequence of doing this is that focus will move from the rich text element in the block to the writing flow wrapper.", that should raise a large red flag for all reviewers that this will need an accessibility review. Anything that causes focus changes has high potential for causing accessibility issues, especially if they are a side effect rather than the intended change. I also support reverting #63671. |
Here's a revert: #65414 It needs a review 🙏🏻 |
Reverted the PR that caused this bug. |
I'd totally agree. I'd think it's time to discuss process on the Gutenberg development. While I'm not against fast iterations and experiments in the plugin, I'm not sure everything that gets merged in Gutenberg should be released with WordPress so lightly. After more than seven years of Gutenberg development I think the editor that gets released with WordPress must be way more stable. I do realize this issue is not the best place for such a discussion though as this should be discussed at a higher level. |
FWIW, I think investing time in toolings and testing might help in this case. For instance, it's almost always unintended whenever the focus is moved to |
@kevin940726 I’d been considering the same. I was worried about the number of false positives it would emit though. I think it’s worth trying to automatically catch focus loss though, as it is a really common issue. |
|
Yeah, something like that. Something that runs by default on any e2e test with some kind of over-rideable behavior. I’m not sure how that part would work though. For example, when would it be OK for focus to be on the body and how do we allow those instances?
…On Sep 26, 2024 at 7:52 AM -0500, Marco Ciampini ***@***.***>, wrote:
focus handler on the bodyelement that fires a warning only when in the testing environment?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
When users intentionally click an empty part of the page, there's nothing focused I think. |
There's @t-hamano testing Gutenberg in order to fix #61168 issue, and playing around they noticed the "move blocks" accessibility arrows has been broken in 19.2 and 19.3 Gutenberg releases as well. I didn't notice it because I downgraded immediately. |
Description
WHAT: accessibility bug (regression) in Gutenberg 19.2 - it was not present in 19.1, occurs with JAWS screen reader version 2024.
When writing a new content -post, page, etc.- and having an empty paragraph block, writing some text. Typing is regular, but then, when selecting text, the first word is never spoken and JAWS says "edit box, empty" instead of saying the currently select word; then, selecting further words, they are spoken correctly. Affected also the ctrl+a ("select all") command.
Current result: when editing text, first character/word selected is not spoken by JAWS, while subsequent text is read regularly.
Expected result: every character/word selected, is regularly pronounced by HAWS screen reader.
Step-by-step reproduction instructions
Pre-requirements: Windows 10 or 11, JAWS screen reader 2024 latest build. Browsers, any browser.
Screenshots, screen recording, code snippet
No response
Environment info
WordPress 6.6.2, Gutenberg plugin 19.2, Windows 10 latest builds and Windows 11 latest build, Chrome and Microsoft Edge latest browser builds. JAWS for Windows 2024 last build. With NVDA screen reader, problems seems not to occur.
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
The text was updated successfully, but these errors were encountered: