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

USWDS-Site - Bug: Accordion state not reading accurately in JAWS #2368

Closed
2 tasks done
amycole501 opened this issue Nov 21, 2023 · 5 comments · Fixed by #2557
Closed
2 tasks done

USWDS-Site - Bug: Accordion state not reading accurately in JAWS #2368

amycole501 opened this issue Nov 21, 2023 · 5 comments · Fixed by #2557
Assignees
Labels
A11y Audit Issues related to the accessibility audit Affects: Accessibility 🟡 Relates to the accessibility of our components Role: Dev Development/engineering skills needed Type: Bug A problem in the code

Comments

@amycole501
Copy link

Describe the bug

The audible announcement of the "expanded" and "collapsed" state of the accordions on the component pages says "to activate press enter". It Should say "Expanded" or "collapsed".

Here is a screen recording of the accordion in use on a component pages vs. the accordion example.

This issue is only evident in JAWS. It announces correctly in NVDA.

Steps to reproduce the bug

  1. Go to https://designsystem.digital.gov/components/accordion/
  2. Open JAWS (if you have it)
  3. Open the "component preview" accordion. Hit enter to close the accordion. Hit enter again to open it.
  4. Listen for "to activate press enter"

Expected Behavior

JAWS should say "collapsed" and "expanded".

It does say this in the actual component example that's inside the accordion.

Screenshots

No response

System setup

PC
Desktop
Chrome
JAWS

Additional context

No response

Code of Conduct

@amycole501 amycole501 added Type: Bug A problem in the code Affects: Accessibility 🟡 Relates to the accessibility of our components labels Nov 21, 2023
@github-actions github-actions bot added the Status: Triage We're triaging this issue and grooming if necessary label Nov 21, 2023
@brunerae brunerae added Role: Dev Development/engineering skills needed and removed Status: Triage We're triaging this issue and grooming if necessary labels Dec 7, 2023
@brunerae brunerae moved this to On deck in USWDS Core Project Data Dec 18, 2023
@amyleadem
Copy link
Contributor

@amycole501 @alex-hull Can you test this with JAWS in our Storybook instance so that we can figure out if it is happening with the base code? Here are the related links:

@amycole501
Copy link
Author

Both storybook items announce "expanded" and "collapsed"

@amycole501
Copy link
Author

Also, checked the accordion on vote.gov and it sounds good as well. I hear 'expanded' and 'collapsed'. https://vote.gov/

@alex-hull
Copy link

Checked on USA.gov and they read correctly as well. Tested on USWDS' site on component preview accordions for button and date picker and they are reading "to activate press enter" after the first keyboard interaction.

@mahoneycm mahoneycm added the A11y Audit Issues related to the accessibility audit label Jan 8, 2024
@brunerae
Copy link
Contributor

Assigning to next Sprint so we can fully understand the bug and begin to wrap our heads around a possible solution.

@amyleadem amyleadem added this to the 2024.03 March milestone Feb 28, 2024
@amyleadem amyleadem moved this from On deck to In progress in USWDS Core Project Data Mar 25, 2024
@amyleadem amyleadem moved this from In progress to Review in USWDS Core Project Data Mar 26, 2024
@github-project-automation github-project-automation bot moved this from Review to Done in USWDS Core Project Data Mar 29, 2024
@brunerae brunerae removed this from the 2024.03 March milestone Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A11y Audit Issues related to the accessibility audit Affects: Accessibility 🟡 Relates to the accessibility of our components Role: Dev Development/engineering skills needed Type: Bug A problem in the code
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

5 participants