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 aria-roledescription value for all semantic and interactive elements when used with the group role #889

Open
Wildebrew opened this issue Feb 17, 2025 · 8 comments

Comments

@Wildebrew
Copy link

Expected behavior when you use aria-roledescription on a group role.

  • Jaws should announce the aria-roldescription value (e.g. "slide") + accessible name when you navigate into and out of the group element in browse mode.
  • Jaws should not announce the aria-roledescription value while your navigating between semantic or interactive element inside the slide element

Actual behavior:

If you put role="group" and aria-roledescription="slide" + an accessible name on a container element, Jaws announces the word "slide" in place of the semantic role of all its children.
In the attached file, navigate the first slide with arrow keys (in browse mode).
Notice how Jaws

  • says "slide" instead of "heading level 3" for the heading
  • "slide" instead of "link" for the "learn more" link,
  • "slide" instead of "button" for the sign up button.

If you use the tab key, Jaws does say "slide link" for the link but it announces "slide" instead of "button" for the "sign up" button.
Jaws should've announced "heading level 3" for the heading "link" for the link and "button" for the button.

The attached example has an identical setup using role="article" in place of role="group" and that example works exactly as expected.

This is troublesome because the ARIA Authoring Practices recommends using the group role + aria-roledescription="slide" for slides in a carousel component.

I would not expect Jaws to do this. If you use role="group" without aria-roledescription the group role is not announced for elements inside the group, only as you enter and leave the group.

@Wildebrew
Copy link
Author

This happens with all versions of Jaws tested (including 2024 and 2025) in Chrome and Firefox (have not tested Edge but assume it'd be the same).

@JAWS-test
Copy link

JAWS-test commented Feb 17, 2025

Duplicate of #510, #407 and #288

@Wildebrew
Copy link
Author

Wildebrew commented Feb 17, 2025 via email

@JAWS-test
Copy link

Please do not extend 288, because the ticket is closed. The other two are open. It is sufficient if one ticket remains open.

@JAWS-test
Copy link

Incidentally, I cannot confirm that the problem still occurs with JAWS 2025. In the examples I checked from the various tickets on this page, the problem occurred until JAWS 2024.

@Wildebrew
Copy link
Author

Wildebrew commented Feb 18, 2025 via email

@JAWS-test
Copy link

JAWS-test commented Feb 18, 2025

I can't find a file. Please create a CodePen

@JAWS-test
Copy link

Current Chrome and JAWS 2025.2412.50: I have tested this with role=group, role=article and role=toolbar as the container role. I have nested many elements for testing (links, buttons, checkboxes, input fields, lists, tables, headings).
Whereas with JAWS up to 2024, aria-roledescription is output instead of the role for most elements, with JAWS 2025 this only happens for the headings. The role of the container is irrelevant.

Conclusion: The problem still occurs with JAWS 2025, but to a very limited extent. There are significant improvements compared to JAWS 2024

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

2 participants