-
Notifications
You must be signed in to change notification settings - Fork 791
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
Should regions be flagged as requiring accessible names? #3585
Comments
Hey @sivakusayan. Thanks for the suggestion. There's nothing inherently wrong with a region element without an accessible name though. Not all regions have, or need a name. You could say that regions that need a name, require a name, but there is no way to know whether regions need a name or not. Nothing accurate I can think of anyway. This is sort of the problem with some elements. On something like |
Thanks for the reply! I'll admit I don't completely understand (I'm still relatively new to accessibility), so I'm going to list out two interpretations of your answer - feel free to ignore whichever one doesn't apply.
|
From the sound of it you understand the issue well enough! You're right on both counts. the WAI-ARIA actually requires that all elements with a |
I can see that. My initial thought was that some kind of name is better than none, since how would users distinguish different regions when pulling up a list of all landmarks? Although I guess that also applies to other types of landmarks, even though other landmarks don't require names. But if a user was merely cycling through all the regions on the page using virtual cursor hotkeys, I think the user can distinguish different landmarks from each other just by their content. I'm struggling to see a straightforward answer here 😕 I think I'm okay with closing for now, mostly because:
|
Product: axe Extension
Expectation: When scanning a codepen with a nameless region, the extension would flag the nameless region as needing a name.
Actual: Nameless region is not flagged.
Motivation: Nameless regions aren't exposed as regions at all, at least according to the CORE-AAM. This behavior is implemented in both Chromium and Firefox (not sure with Safari). I feel like this could be potentially confusing to authors who aren't familiar with these rules - that's what I often see with coworkers in my company, at least.
I see that this was previously discussed in #2421, and it was determined those names weren't necessary. I'm not sure how different the AAM and implementation statuses were back then, but would it make sense to revisit this issue for regions? Maybe this should be flagged as a best practice.
The text was updated successfully, but these errors were encountered: