adobe / adobe/spectrum-web-components
[Bug]: VoiceOver does not read content of sp-tooltip on hover or click open
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 262
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 68
Description
### Code of conduct
- [X] I agree to follow this project's code of conduct.
### Impacted component(s)
sp-tooltip, sp-action-button, sp-overlay-trigger, sp-popover
### Expected behavior
Expect VoiceOver to read the content of a sp-tooltip when user either hovers or keyboard focuses on the sp-action-button
### Actual behavior
VoiceOver tells me to use `control-option-space` to interact with the button, but no tooltip content is read out
### Screenshots
_No response_
### What browsers are you seeing the problem in?
Chrome
### How can we reproduce this issue?
See sample code
### Sample code that illustrates the problem
https://studio.webcomponents.dev/edit/J3BcJnTW4U45u7DTa9a0/src/index.ts?p=stories
### Logs taken while reproducing problem
_No response_
Contributor guide
Research direction
Start with the linked sample code and inspect the sp-tooltip, sp-action-button, sp-overlay-trigger, and sp-popover components involved in the reproduction. Use Chrome with VoiceOver to verify the current behavior for hover and keyboard focus. Done means VoiceOver reads the tooltip content in both interaction cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- accessibility, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100