Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Label checks should not apply to elements with role of "separator" #91

Open
d-reinhold opened this issue Aug 25, 2015 · 1 comment
Open

Comments

@d-reinhold
Copy link

Separator role is a presentation role that doesn't need an additional label.

See https://developer.mozilla.org/en-US/docs/Web/Accessibility/AT-APIs/Gecko/Roles/ROLE_SEPARATOR, http://www.w3.org/TR/wai-aria/roles#separator

@erin-doyle
Copy link
Collaborator

erin-doyle commented Nov 28, 2017

It looks like we could use a whole new rule module for validating role="separator" based on the links you posted. It looks like we need to identify when the element is not focusable and is therefore seen as a structural element versus when it is focusable and is seen as an interactive widget. Based on each the rules will vary.

Specifically as it applies to whether a label is required or not it looks like when the element is focusable and there is more than one a label is required:

In applications where there is more than one focusable separator, authors SHOULD provide an accessible name for each one.

So it looks like it's more complicated then just not requiring a label whenever there is role="separator".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants