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
{{ message }}
Repository navigation
Button without text or aria label violates Axe rule #45
Hi @MarkPare , I'm the author of the PR. I took a quick glance over this rule, and I'm not sure it's valid in case of role="switch". It essentially the same as a simple checkbox: a combination of role="checkbox" (switch) and checked attribute (aria-checked), plus a label explaining what it is somewhere outside. I'm not an a11y expert, but it seems to that this rule should take role="switch" and role="checkbox" into consideration
Activity
saitonakamura commentedon May 17, 2020
Hi @MarkPare , I'm the author of the PR. I took a quick glance over this rule, and I'm not sure it's valid in case of
role="switch". It essentially the same as a simple checkbox: a combination ofrole="checkbox"(switch) andcheckedattribute (aria-checked), plus a label explaining what it is somewhere outside. I'm not an a11y expert, but it seems to that this rule should take role="switch" and role="checkbox" into consideration