You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the test for input type=checkebox role=... returns the correct 4 valid roles.
however the info returned for required states is inaccurate
on a input type=checkbox the menuitemcheckbox or switch roles shouldn't require aria-checked, as they can rely on the input's default checked attribute / state.
also, if using role=button on a checkbox, there needs to be a required aria-pressed state, otherwise role=button should be flagged as an invalid role.
edit:
a similar issue exists for input type=radio with role=menuitemradio. the input's default checked attribute / state can be used rather than aria-checked, so that shouldn't throw a required state error
The text was updated successfully, but these errors were encountered:
scottaohara
changed the title
need update to input type=checkbox required states
need update to input type=checkbox/radio required states
Mar 9, 2021
the test for
input type=checkebox role=...
returns the correct 4 valid roles.however the info returned for required states is inaccurate
on a
input type=checkbox
the menuitemcheckbox or switch roles shouldn't require aria-checked, as they can rely on the input's default checked attribute / state.also, if using role=button on a checkbox, there needs to be a required aria-pressed state, otherwise role=button should be flagged as an invalid role.
edit:
a similar issue exists for input type=radio with role=menuitemradio. the input's default checked attribute / state can be used rather than aria-checked, so that shouldn't throw a required state error
The text was updated successfully, but these errors were encountered: