RE: Because a checkbox can be perceived as a toggle button

Thanks for the link, Jonathan,

There seems to be a slight inconsistency between the current HTML spec and
the ARIA in HTML overview. We've moved back to an <a href> with a return
false for the time-being. <button> does make more sense, though.

Jan


> > 2. Is there any sort of overview for ARIA roles and suitable HTML
elements
> they can be assigned to?
> 
> According to the latest ARIA in HTML working draft
> (https://www.w3.org/TR/html-aria/) role checkbox can be used on button.
> 
> Allowed Roles and attributes: checkbox, link, menuitem,
> menuitemcheckbox, menuitemradio, radio, switch - (new) or tab global aria-
> * attributes and any aria-* attributes applicable to the allowed roles

Received on Monday, 21 November 2016 14:02:58 UTC