Skip to content
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 announces redundant information where first instance information is incorrect while the second is correct #870

Open
sugan2416 opened this issue Oct 8, 2024 · 0 comments

Comments

@sugan2416
Copy link

Summary

When deleting / adding the list items (pills) as shown in the screenshot, Jaws announces a user programmed response (with aria-live on a visually hidden element having custom message) indicating the number of list items that are hidden (e.g 2 more..., 3 more... etc) after deletion / addition of list items.
This information about the hidden items is announced twice wherein the count of items during first instance of announcement is incorrect while the second time is accurate.

Example:

  1. Go to https://engineering.cerner.com/terra-framework/tests/cerner-terra-framework-docs/pills/filter-pills/collapsible-filter-pills
  2. Use Tab to set focus on first item (pill) and then use Left/Right arrow keys to move across items.
  3. Use Escape / Backspace key to delete an item from the list. This results in the redundant information of remaining hidden items.
    For example, if there are list items are like this
image If "respiratory: fibro" is deleted with Esc key then, it first announces as "4 hidden items" (incorrect count) and then says "3 hidden items" (correct count). This behaviour may also be arising from the react state update (on rollUpCount state) seen in:

https://github.cerner.com/terra/terra-framework/blob/main/packages/terra-pills/src/FilterPills.jsx#L401
But jaws ideally should have read out the change in message set to visually hidden element: https://github.cerner.com/terra/terra-framework/blob/main/packages/terra-pills/src/FilterPills.jsx#L454 after the final state update.

Expected result

Expected JAWS to announce the message once with the correct count of hidden items after final react state update

Actual result

JAWS announced same message twice, first time with incorrect count and then correct count the second time.

Additional Information

JAWS version and build number

Screenshot 2024-10-08 at 8 38 19 PM

Operating System and version

Edition Windows 11 Enterprise
Version 23H2
Installed on ‎8/‎15/‎2024
OS build 22631.4169
Experience Windows Feature Experience Pack 1000.22700.1034.0

Browser and version:

Microsoft Edge for Business Version 129.0.2792.79 (Official build) (64-bit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant