You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There on the two-language variants of the Language Selector (button or link), there is an accessibility defect coming from aria-controls="language-options". An element with id="language-options" would not need to exist for this control.
While aria-controls might not be function, this is showing up as a violation in automated tooling.
To Reproduce
Steps to reproduce the behavior:
Click on the language selector button (or link)
Inspect element
Note the aria-controls attribute
Expected behavior
The aria-controls attribute should not be on this version of the Language Selector
Screenshots
Additional context
Device and Browser Information (please complete the following information if describing a UI bug):
The text was updated successfully, but these errors were encountered:
ReactUSWDS Version & USWDS Version:
There on the two-language variants of the Language Selector (button or link), there is an accessibility defect coming from
aria-controls="language-options"
. An element withid="language-options"
would not need to exist for this control.While
aria-controls
might not be function, this is showing up as a violation in automated tooling.To Reproduce
Steps to reproduce the behavior:
aria-controls
attributeExpected behavior
The
aria-controls
attribute should not be on this version of the Language SelectorScreenshots
Additional context
Device and Browser Information (please complete the following information if describing a UI bug):
The text was updated successfully, but these errors were encountered: