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

Tooltip type describe should add aria-description strings to element for better screen reader support #2797

Open
mannycarrera4 opened this issue Jun 27, 2024 · 0 comments · May be fixed by #2814
Labels
10.x accessibility bug Something isn't working

Comments

@mannycarrera4
Copy link
Contributor

mannycarrera4 commented Jun 27, 2024

🐛 Bug Report

We want to be able to provide the describe tool tip on the description of the child component regardless of whether the tool tip is visible.

Since aria-describedby references another element in the DOM, this’ll only work when the tool tip is visible. And that is, only visible when the child component is focused.

But… screen readers can access things on the page without actually focusing them. So, the describe tool tip doesn’t always work for screen reader users. Only sometimes, when the child component is focused.

Expected Behavior

Voiceover can describe the element regardless if the tooltip is open or not.

To Reproduce

Steps to reproduce the behavior:
With VoiceOver / MacOS:
Launch VoiceOver, open Safari
Canvas Design Site: Tooltip popups > Describing an element
Reading commands: Ctrl + Opt + Right
Issue: observe tool tip text on Delete button is not described
Press Tab to focus “Show Code”
Read backward: Ctrl + Opt + Left Arrow
Issue: observe tool tip text on Delete button is not described
Set Rotor to “Form Fields”: Ctrl + Opt + Cmd + Right Arrow
Jump buttons on the page: Ctrl + Opt + Cmd + UP / DOWN arrow
Issue: observe tool tip text on Delete button is not described
With NVDA on Windows 11:
Launch NVDA, open Chrome
Canvas site => Tooltips => Describing an element
In virtual mode, use quick key ‘b’ to jump to the Delete Button
Issue: observe the tool tip text is not described

Expected Behavior

A clear and concise description of what you expected to happen.
Screen readers should be able to automatically describe the Tool tip description while reading elements without keyboard focus.

@mannycarrera4 mannycarrera4 added bug Something isn't working accessibility 10.x labels Jun 27, 2024
@mannycarrera4 mannycarrera4 changed the title Tooltip should add aria-description to element for better accessibility with voiceover Tooltip type describe should add aria-description strings to element for better screen reader support Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10.x accessibility bug Something isn't working
Projects
Status: 🆕 New
1 participant