-
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
All notices should use a spokenMessage #9425
Comments
Seems there are a few more notices that need a spoken message:
|
Ah OK I understand better now. So, by default the audible message will be the string used for the visible message. Only if a different audible message is desired, then it's possible to use gutenberg/packages/editor/src/store/effects.js Lines 212 to 215 in 7462c63
|
The behavior was changed in the introduction of the notices module in #9617 to make the displayed content align to the spoken text, by limiting the acceptable content of a notice to plaintext. |
To my understanding, all notices have now built-in ability to |
The failure notices in
packages/editor/src/store/effects/posts.js
should also use aspokenMessage
to produce an audible message in the ARIA live region. This should be pretty standard for all the notices and it's already implemented in some of them, for example the success notices.Also, the string used for the spoken message should not include links. See for example
gutenberg/packages/editor/src/store/effects/posts.js
Lines 219 to 227 in a731af5
The text was updated successfully, but these errors were encountered: