Skip to content
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

make menuitemradio subclass menuitem, require aria-checked #1354

Merged
merged 1 commit into from Dec 15, 2020

Conversation

carmacleod
Copy link
Contributor

@carmacleod carmacleod commented Nov 20, 2020

Closes #1347.

This PR:

  • changes the superclass of menuitemradio to be menuitem (instead of menuitemcheckbox)
  • makes aria-checked a required attribute of menuitemradio (was previously inherited from menuitemcheckbox)

Also, because menuitem superclass is now obviously a Related concept:

  • changed menuitem to menuitemcheckbox under the Related concepts for menuitemradio
  • changed menuitem to menuitemradio under the Related concepts for menuitemcheckbox

@WilcoFiers - would be great if you have a chance to review this. :)


Preview | Diff

@JAWS-test
Copy link
Contributor

The class diagram should be updated too because it is linked at 5.3 Categorization of Roles

@jnurthen
Copy link
Member

@JAWS-test The class diagram is no longer maintained. If you follow the link it states this.

@JAWS-test
Copy link
Contributor

I thought there will be a new one: #1222

@carmacleod
Copy link
Contributor Author

carmacleod commented Nov 24, 2020

@jnurthen I think @pkra's Tree diagram from #1222 is quite nice, and we should link to it for ARIA 1.3.
(Thanks for the pointer, @JAWS-test).

At a minimum, we could update it and put it at a 1.3 variant of: https://www.w3.org/WAI/ARIA/1.2/class-diagram/

@jnurthen jnurthen merged commit 257b0e1 into master Dec 15, 2020
@jnurthen jnurthen deleted the car/issue1347 branch March 3, 2021 16:57
@pkra pkra added this to the ARIA 1.3 milestone Jan 12, 2022
@pkra pkra mentioned this pull request Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Why does menuitemradio inherit from menuitemcheckbox?
5 participants