Tests:
Allowances for input type=reset
, input type=image
and type=submit
Authors are allowed to use the roles
button
, checkbox
, combobox
, gridcell
, link
, menuitem
, menuitemcheckbox
, menuitemradio
, option
, radio
, slider
, switch
, tab
or treeitem
on a input type=reset
, input type=image
or input type=submit
element.
All allowed roles on the button element are now allowed on these elements as well. While there are far better elements to use as a base for these roles, if an author has no other choice and they end up using these elements to make an otherwise accessible custom widget, there is no reason to preclude their use as other automated and manual checks can call out potential accessibility gaps.