-
Notifications
You must be signed in to change notification settings - Fork 243
Description
Code of conduct
- I agree to follow this project's code of conduct.
Impacted component(s)
Tooltip
Library version
1.9.0
Expected behavior
According to the Tooltip documentation, it should have role="tooltip" set on its content. I am expecting to see the role set and for it to appear as tooltip in the accessibility tree.
Actual behavior
The Tooltip component is missing a role of tooltip. It is not present in the accessibility tree and I do not see it in the shadow-root markup. This affects how it is being presented to assistive technology.
The SWC accessibility documentation for the Tooltip component says:
The tooltip is automatically assigned appropriate ARIA attributes:
role="tooltip"is applied to the tooltip content
But I am not seeing that this is currently true. Was this intentional or a regression?
Screenshots
Example accessibility tree in Chrome from https://opensource.adobe.com/spectrum-web-components/components/tooltip/#overlay shows it as a group:
Inspector markup:
What browsers are you seeing the problem in?
Chrome
How can we reproduce this issue?
- Go to any Tooltip currently on https://opensource.adobe.com/spectrum-web-components/components/tooltip
- Inspect the tooltip component markup and its representation in the accessibility tree.
Sample code or abstract reproduction which illustrates the problem
No response
Severity
None
Logs taken while reproducing problem
No response
Would you like to track this issue in Jira?
- Yes, please tell me the ticket number!