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
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Bug Report
ion-checkbox generated HTML markup has an accessibility issue on Lighthouse Audit.
Ionic version:
[x] 5
Current behavior:
Lighthouse Audit: Buttons do not have an accessible name
Failing Elements
button
Expected behavior:
Should pass Lighthouse Audit Test.
Steps to reproduce:
Related code:
Other information:
https://github.com/ionic-team/ionic/blob/master/core/src/components/checkbox/checkbox.tsx line 168-169
Just add line bellow to the Button HTML tag:
aria-labelledby={labelId}
This must fix it.
Ionic info:
The text was updated successfully, but these errors were encountered: