Modal: Tooltip is missing from the Close button on focus #14988
Labels
adopter: strategic-product
Work-stream that directly effects the Product-led Growth initiative.
component: modal
component: tooltip
needs: community contribution
Due to roadmap and resource availability, we are looking for outside contributions on this issue.
proposal: accepted
This request has gone through triaging and we are accepting PR's against it.
role: dev 🤖
type: a11y ♿
type: enhancement 💡
Package
@carbon/react
Browser
Chrome
Operating System
MacOS
Package version
V10, V11
React version
v. 1.40
Automated testing tool and ruleset
n/a
Assistive technology
No response
Description
When navigating with keyboard on a modal, tooltip is missing from the 'Close' button on focus. Tooltip is required for non-text content.
Here's Carbon's accessibility guidance on buttons:
Icon-only buttons have their labels exposed automatically on hover and focus.
https://carbondesignsystem.com/components/button/accessibility#behavior
Also, when using a mouse to hover the 'Close' button, the tooltip is incorrect. (This is also covered in issue #14323)
WCAG 2.1 Violation
Success Criterion 1.1.1: Non-text Content
Reproduction/example
https://react.carbondesignsystem.com/?path=/story/components-modal--default&globals=theme:white
Steps to reproduce
The violation can be found in Carbon site or storybook.
Code of Conduct
The text was updated successfully, but these errors were encountered: