Skip to content

[a11y]: DefinitionTooltip content not announced by JAWS #19285

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

Open
2 tasks done
wkeese opened this issue May 1, 2025 · 0 comments · May be fixed by #19482
Open
2 tasks done

[a11y]: DefinitionTooltip content not announced by JAWS #19285

wkeese opened this issue May 1, 2025 · 0 comments · May be fixed by #19482

Comments

@wkeese
Copy link
Contributor

wkeese commented May 1, 2025

Package

@carbon/react

Browser

Chrome

Operating System

MacOS

Package version

1.80

React version

18

Automated testing tool and ruleset

manual test

Assistive technology

JAWS

Description

Apparently, JAWS doesn’t announce the definitions for Carbon’s DefinitionTooltip.

But, I noticed that the content is missing aria-live="polite", so maybe that's the only problem.
Contrast with Toggletip which does have aria-live="polite".

My other hypothesis was that it was because JAWS doesn’t expect a mere focus change to trigger a content change. Hopefully that's not the issue as it would be hard to fix without removing the current open-on-focus behavior.

WCAG 2.1 Violation

No response

Reproduction/example

https://react.carbondesignsystem.com/?path=/story/components-definitiontooltip--default

Steps to reproduce

Just use JAWS on the DefinitionTooltip story (https://react.carbondesignsystem.com/iframe.html?globals=&args=&id=components-definitiontooltip--default&viewMode=story).

Suggested Severity

None

Code of Conduct

@riddhybansal riddhybansal moved this to ⏱ Backlog in Design System May 5, 2025
wkeese added a commit to wkeese/carbon that referenced this issue May 27, 2025
Use aria-describedby for DefinitionTooltip just like Tooltip,
to link the term to its definition.

Addresses the problem that JAWS doesn't announce the definition when the
tooltip is opened, at least when opened by hover (openOnHover === true)
rather than clicking.

Fixes carbon-design-system#19285
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ⏱ Backlog
Development

Successfully merging a pull request may close this issue.

2 participants