[a11y]: Coachmark: closeIconDescription effectively hardcoded to English #6629
Labels
component: Coachmark
role: dev
Sev 3
Visible or noticeable to users but does not impede functionality. Has a workaround.
type: a11y ♿
Issues not following accessibility standards
type: bug 🐛
Something isn't working
Milestone
Package
@carbon/ibm-products
Browser
Chrome
Operating System
MacOS
Package version
2.56.0
React version
18
Automated testing tool and ruleset
manual inspection
Assistive technology
No response
Description
CoachmarkDragbar
has acloseIconDescription
with a default value of 'Close':However,
CoachmarkDragbar
is specifically listed as an internal component:When
CoachmarkDragbar
is instantiated fromCoachmarkOverlay
, there's no way to set thecloseIconDescription
:Likewise when
CoachmarkOverlay
is created fromCoachmark
itself.CoachmarkHeader
has the same problem, it's an internal component with acloseIconDescription
:... but there's no way to set
closeIconDescription
when instantiatingCoachmarkOverlay
etc.And finally, same issue with
CoachmarkTagline
:WCAG 2.1 Violation
No response
Reproduction/example
N/A
Steps to reproduce
N/A
Code of Conduct
The text was updated successfully, but these errors were encountered: