-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correction: update aria-checked allowances #372
Conversation
This change will make it extremely difficult for implementors to implement checkboxes that are styled AND are accessible. Currently most component libraries that implement accessible styled checkboxes use a real checkbox elements for the focus but overlay a visibly styled element of some sort. I think that this is a change that takes the web platform in the wrong direction. |
That is true
This is not true as the frameworks do not require ARIA. There is the invisible HTML checkbox (without ARIA) and the visible checkbox (which is marked with aria-hidden=true at most, depending on the implementation) |
This update is being made to better reflect reality, and to inform authors that what they are doing now is not consistently accessible. Using Authors using Authors should be using the Further discussion on whether |
verified these rules are included in the IBM Equal Access preview rules. This now meets the 2 implementations needed to be merged into the spec. |
directly reference the following PRs in the changelog, and prepend each entry with the appropriate 'label' related to w3c/html-aria#419 - w3c/html-aria#352 - w3c/html-aria#367 (and follow on [commit](w3c/html-aria@9cc2c0a)) - w3c/html-aria#360 - w3c/html-aria#353 - w3c/html-aria#372 - w3c/html-aria#402 - w3c/html-aria#404 - w3c/html-aria#403 - w3c/html-aria#396 - w3c/html-aria#391 - w3c/html-aria#369 - w3c/html-aria#381
closes #361
Per the peculiar nature of
aria-checked
, where it allows for three different states on checkboxes (false, true, mixed), but native HTML only allows for true/false, and then has a separate IDL attribute to handle 'mixed', per ARIA's normative rules about host language attributes having higher importance, authors really must not use thearia-checked
attribute on native HTML elements that allow it. Particularlyinput type=checkbox
which, if following the requirements of ARIA, as the checked/unchecked MUST always win out, and thusaria-checked
MUST always be ignored, even if set toaria-checked=mixed
.These rule update are part of what will resolve the ARIA issue I opened - w3c/aria#1622
Need at least two checkers to accept this change before we can merge.
Preview | Diff
Preview | Diff