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
{{ message }}
Repository navigation
bug(checkbox): aria-label and aria-labelledby result in duplicate attributes and verbose screen reader experience #19478
AccessibilityThis issue is related to accessibility (a11y)P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/checkbox
Observe that the output is "clickable Check me! hello Check me! hello check box not checked"
Inspect the rendered DOM and observe that aria-labelledby is on both the <mat-checkbox> and <input type="checkbox>.
Expected Behavior
NVDA should only announce the labels once, and should not announce "clickable". For example "Check me! hello check box not checked".
This is occurring because of the duplicated attribute on the container. The aria-labelledby attribute should not exist on the containing <mat-checkbox>
Actual Behavior
Very verbose output in NVDA.
Environment
Angular: 9.2.4
CDK/Material: 9.2.4
Browser(s): Chrome 81
Operating System (e.g. Windows, macOS, Ubuntu): Windows, with NVDA 2020.1
AccessibilityThis issue is related to accessibility (a11y)P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/checkbox
Activity
devversion commentedon May 29, 2020
Great report. Thanks! Looks like there is a PR for this: #17092. There is also a PR pending for button-toggle: #17086.
Ckolhari5353 commentedon Aug 12, 2020
Hi,
I'm facing the same issue, any specific release date for this bug fix?
crisbeto commentedon Feb 22, 2022
Should be resolved now by #17092.
angular-automatic-lock-bot commentedon Mar 25, 2022
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.