loading...

re: Checkboxes can be excellent buttons VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I guess you don't even have to declare the role, as they're effectively checkboxes, even if they look like buttons.
 

Correct. This also works for radio buttons, which is even better as when you declare their name the browser/screenreader automatically detects them as a group.

Code of Conduct Report abuse