-
Notifications
You must be signed in to change notification settings - Fork 137
Remove multiple inheritance from menuitemcheckbox and menuitemradio #1278
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
Conversation
Support aria-expanded on radio.
|
I'd prefer to solve this by changing the inheritance of menuitemcheckbox. |
|
I'm going to tag the underlying issue for the agenda and if we don't have agreement through github we can discuss on Thursday. |
That's brilliant, and I agree completely, and I will remove (Also, hmmm... maybe |
add aria-checked to required attributes
|
I guess |
prohibit aria-haspopup on menuitemcheckbox/menuitemradio
|
This PR:
Since menuitemcheckbox and menuitemradio no longer inherit from an input (i.e. checkbox or radio), Ready for discussion and review. |
|
From the call:
Also, I will move the javascript fixes for prohibited attributes to a PR in aria-common so that the code is not lost. |
…ts into roles" lists" This reverts commit 3f845d5
allow aria-expanded and aria-haspopup on menuitemcheckbox and menuitemradio
|
Ok, I've made the changes that were discussed on the call, removed the WIP label, and renamed this PR to reflect what it contains now:
This has the desired side effect of removing support for aria-errormessage, aria-invalid, aria-readonly and aria-required from menuitemcheckbox and menuitemradio. I also moved the javascript to support prohibited non-global attributes to w3c/aria-common#46 to be used later if we need it. This PR is ready for review. |
…1278) * menuitemcheckbox: remove checkbox from superclasses, add aria-checked to required attributes * remove radio from menuitemradio superclasses,
NOTE: June 13, 2020
For some reason pr-preview did not run, so the Preview and Diff are old (tooltip says "Last updated on May 26, 2020"). Please just look at the code changes in Files changed - there are only 3 changes (2 deletions and an addition).
Closes #1277
Preview | Diff