-
Notifications
You must be signed in to change notification settings - Fork 13
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
JAWS not reading with aria-live field when the content exceeds 4000 characters #785
Comments
@dedrabb1t what is the use case for a 4000 character live region? |
@stevefaulkner We have a clipboard feature where user can select text and save it for future reference. These texts are added to a search panel type component, where user can navigate through the each of the previously saved text using the arrow keys. While navigating, we add the item to a live field so that the content of the item can be read out. Some of these texts exceeds 4000 characters. |
Why can't screen readers users navigate the clipboard contents the same way other users do? |
They are. Only difference is that now we are adding the currently navigated item to aria-live field so that screen reader users can hear the item that they are currently on. |
@dedrabb1t why can't they read it using virtual cursor navigation as they do other content? If you have an actual working demo to test that would be helpful? |
@stevefaulkner Hey, apologies for the delay. I won't be able to share the demo of the actual component. However, I created a pen which kinda capture the essence of what we are trying to do. What we are doing: |
Your combobox is implemented incorrectly. A combobox is never made with live regions to output the options. Rather, the following is correct:
|
Regardless of the incorrect implementation of the combobox, the fact is that there is no limit on the length of a live region in the ARIA specification. Therefore, JAWS should output the live regions in full regardless of length, but at the same time provide an option to stop output (if it is too long). The ARIA specification should include a note that live regions should be short. Live regions with more than 100 characters are generally not useful. |
@ggordon-vispero @BrettLewisVispero @RFischer-FS would be good to get your input on this issue |
Even if you COULD have more than 4000 characters, I wonder if you’ve stopped to ask if you SHOULD. I hope solid user testing is happening. I can’t think of any user that would want 4000+ characters worth of content in an aria live region. Give the user control over their content consumption (which they already have) and don’t force it down their throat. |
Summary
When an aria-live field has more than 4000 characters in it, JAWS is not reading the content added to aria-live. However, when the character counts falls below 4000, JAWS is able to read it.
To reproduce:
Expected result
On pressing 'Add 4000 chars to live field' button, JAWS would read the aria-live field.
Actual result
On pressing 'Add 4000 chars to live field' button, JAWS doesn't read anything.
Example
https://codepen.io/dedrabb1t/pen/zYeLOrg
Additional Information
JAWS version and build number
JAWS 2023
2023.2303.144
Operating System and version
Windows 10
Browser and version:
Chrome 119
Edge 119
The text was updated successfully, but these errors were encountered: