Redundant attributes in modal's built-in close button #7125
Labels
0 - new
New issues that need assignment.
a11y
Issues related to Accessibility fixes or improvements.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
impact - p3 - not time sensitive
User set priority impact status of p3 - not time sensitive
needs triage
Planning workflow - pending design/dev review.
Professional Services - Midwest Delivery Center
Issues logged by Professional Services - Midwest Delivery Center team members.
Actual Behavior
The
CalciteModal
's built-in close button has both of the following attributes:title
andaria-label
. Both attributes are being set to the string "Close". Setting both attributes to the same value is redundant.Expected Behavior
Either the
title
oraria-label
attribute should be removed in order to eliminate redundancy. If the intention is to display a tool tip on hover, thearia-label
can be removed.Reproduction Sample
https://codesandbox.io/s/calcite-modal-button-a11y-bug-s2lsiz?file=/src/App.js
Reproduction Steps
title
andaria-label
attributes on the button are both set to "Close"Reproduction Version
1.4.2
Relevant Info
Windows 10, Chrome 114.0.5735.90
Regression?
No response
Priority impact
p4 - not time sensitive
Impact
This does not block our project, but the accessibility tester on the customer's side is the one who brought this issue to our attention.
Esri team
Professional Services - Midwest Delivery Center
The text was updated successfully, but these errors were encountered: