w3c / accname

Accessible Name and Description Computation
https://w3c.github.io/accname/
61 stars 23 forks source link

Removed redundant line from 2.C. #92

Closed OisinNolan closed 3 years ago

OisinNolan commented 4 years ago

The second bullet point under step 2.E. states If the embedded control has role menu button, return the text alternative of the button..

I don't see any reason to distinguish menu button from button here. I believe that if we are to remove the bullet point quoted above (as is done in this PR) then such menu buttons would simply be handled by 2.F, given that nodes with role button allow name from content.

The motivation here is to simplify the spec by removing redundancy.

If I have missed something here please let me know, thanks! :)


Preview | Diff