-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Post date block - date format options are not clear for screen reader users and items are not announced as checked #39278
Comments
Confirmed that this is still an issue, and also impacts other screen readers: tested with NVDA/Firefox. Testing with NVDA, I used the visual display of what NVDA was reading and confirmed that this is actually a pronunciation issue: what NVDA prints to the screen is "Jan", but what it actually says is "January". This is probably not something we can fix; these decisions are ultimately up to the voice synthesizer - so it may vary depending on which voice synthesizer a user is working with. Because the voice synthesizer process the language only after the screen reader has interpreted the information passed from the accessibility API, nothing we send to the API (e.g. via ARIA) will have any impact on this. Abbreviation expansions are done by voice synthesizers to increase comprehension, since in most cases 'SD' is less meaningful than 'South Dakota'. However, this is certainly a case where the end result can be a problem. I suggest we close this, but if @alexstine has any thoughts, feel free. |
There is nothing we can do about it. The best solution here would be to convert this to a radio button input that way users can use browse mode to explore the text itself, this would be complicated in a select field. |
This is a serious bug, not sure whether it comes from the Gutenberg implementation or from the downshift package. The point is that the usage of the
As such, thee date format dropdown is not compliant and totally unusable by screen reader users. If its not possible to fix this because the bucs is upstream in downshift, I suggest to use a native select element instead and remove all usages of downshift from the codebase. |
Description
The Post Date block has a 'Format Settings' dropdown in its block inspector.
When using Voiceover to read out these options, the output can be confusing. An example is that both the 'Feb 25, 2022' and 'Februrary 25, 2022' options in the dropdown are announced in exactly the same way as 'February 25th 2022', so there's no way to tell them apart. I'm not sure what the situation is like in other screen readers, but it sounds as though Voiceover does some normalization of any dates it reads.
There also doesn't seem to be a way to tell which item is checked. All items are announced as 'selected'.
Step-by-step reproduction instructions
(with Voiceover active)
Screenshots, screen recording, code snippet
No response
Environment info
Safari / Voiceover using latest Gutenberg trunk
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: