-
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
Do not override rich text role attribute #47276
Conversation
Size Change: +2 B (0%) Total Size: 1.33 MB
ℹ️ View Unchanged
|
Flaky tests detected in 93317de. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/3957213090
|
@vcanales Thanks for the PR. How should I test this? Which blocks should we use to determine a pass or fail? So far, I am not noticing anything broken but would like exact testing steps. Thanks. |
@vcanales thanks for your PR. I'm not sure it would fully solve the issue though. In #42158 I tried to explain this is a two-fold issue: wrong role passed by To quickly recap:
Basically, the presence of the wrapper element and the usage of To be fair, the current situation is very far from ideal. I'm not necessarily against this change, as it makes sure an editable 'field' is always exposed to assistive technologies as a @alexstine I think this should be tested with JAWS, as the I'd greatly appreciate some help to revive the discussion on #42158 so that it can get some higher priority! |
Closing in favor of other efforts. I am thinking about how to modify |
@alexstine I would appreciate a link to the PR that has taken precedence over this one. |
What?
Make sure the role of the Rich Text component is always set to
textbox
and avoid setting it todocument
on certain blocks, listed here.Why?
Allowing for the possibility of the role of the Rich Text component to be anything other than
textbox
opens up the possibility for an inconsistent experience for folks using Assistive Technologies.Thoughts that motivate this:
aria-multiline=true
element be anything other thanrole="textbox"
.textbox
; especially notdocument
which is defined as