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
Flag aria-checked on an input type=checkbox or radio #347
This can either be a warning (telling the author that their aria-checked attribute is useless on input elements that allow the checked attribute) or a violation (telling the author not to do that).
ARIA in HTML (w3c/html-aria#372) is tightening the rule on use of aria-checked, particularly due to w3c/aria#1622 and the fact that aria-checked=mixed should never be able to be exposed by browsers that correctly follow the ARIA spec.
we would request that this at the very least this be called out as an author error if using aria-checked=mixed on a checkbox.
There is a bug in chromium now where aria-checked incorrectly takes precedent over the native checked / dirty checked state of an element, which can cause inaccurate information to be exposed if the checked state and the aria-checked attribute are out of alignment: https://bugs.chromium.org/p/chromium/issues/detail?id=1260371
Activity
MHoov commentedon Jun 1, 2021
As of June 1
scottaohara commentedon Nov 21, 2021
ARIA in HTML (w3c/html-aria#372) is tightening the rule on use of
aria-checked, particularly due to w3c/aria#1622 and the fact thataria-checked=mixedshould never be able to be exposed by browsers that correctly follow the ARIA spec.we would request that this at the very least this be called out as an author error if using aria-checked=mixed on a checkbox.
There is a bug in chromium now where aria-checked incorrectly takes precedent over the native checked / dirty checked state of an element, which can cause inaccurate information to be exposed if the checked state and the aria-checked attribute are out of alignment: https://bugs.chromium.org/p/chromium/issues/detail?id=1260371
carmacleod commentedon Nov 29, 2021
@MHoov Where can I find the "general rule description (SME & Dev)" and testcases that were written as of June 1? I don't know where to look.
aliunwala commentedon Feb 7, 2022
Notes from Triage Meeting:
If aria tag "overrides" the native elements state in an AT then this should be a violation.
According to a quick chrome test the aria tag overrides the native behavior. So we are expecting this to be a Violation.
marcjohlic commentedon Feb 14, 2022
Hey team! Please add your planning poker estimate with ZenHub @aliunwala @mbgower @shunguoy @tombrunet @philljenkins @drjoho
shunguoy commentedon Feb 14, 2022
this might be expanded to a more generic case when a user explicitly specifies a role that is the same or conflicts with the implicit role.
shunguoy commentedon Mar 8, 2022
this will be covered in #721, close as fixed.