-
Notifications
You must be signed in to change notification settings - Fork 266
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
ARIA11 should reference role="region", and not role="application" #291
Comments
Thanks for removing application role (and the application resources links) and adding the landmarks extension link, @alastc ! Do you plan to add role=region/section element in a separate PR? If not, then we need to reopen this issue, because that part is important, too. Let me know if you would prefer a new issue. Also, I noticed a few more things in the ARIA11 Technique that aren't quite correct:
Should this technique mention that certain HTML elements have implied landmark roles? Or is that a different kind of technique? |
HI @carmacleod, Sorry, I must have skipped the region bit, I've created a new PR: #1269
I believe that's still in working draft? We generally prefer to reference recommendations. The only form example included in the technique is for a search role, and I don't think that is affected by the label requirement? NB: The techniques are not trying to show all possible techniques, just enough so people can understand the intent. It is better to link to the appropriate spec rather than replicate them in the techniques.
Updated.
Updated, with the first one going to the actual plugin page.
That would probably be a new technique under HTML techniques, rather than ARIA. |
Hi @alastc, Thanks for the new PR! Looks good!
Was pretty sure you'd say that. :) ARIA 1.2 will be moving to CR really soon, and we aren't planning to make any more changes (famous last words), however I understand about only referring to rec specs.
Correct - that's a search landmark, which does not require a label (unless there's more than one on a page, but that is already covered in the paragraph beginning with "There are cases when a particular landmark role could be used more than once on a page...").
Makes sense. I guess I just felt that if form was listed as one of the landmark roles, it probably needed a little "caveat clause" such as the one that you added for region:
(Hmmm... I wonder if that should say "an accessible label" so that it isn't confused with "a I'll open an issue to add the clause for form after ARIA 1.2 goes rec (would you consider adding the clause after CR? PR? Just asking...). :)
Oh right - thanks for the reminder. So, it looks like there's only one HTML technique for landmarks that I could find - yikes! I've opened #1270 to connect that one up with the technique for adding a heading to the beginning of sections of content... which has an example of a list of links with an h2, and no mention of wrapping it all in a I'll open issues to add techniques for |
Done. #1308 UPDATE: ARIA 1.2 reached W3C Candidate Recommendation status on March 2, 2021. So it is now official that elements with role="form" are required to have an accessible label before they are considered to be a landmark. |
There are PRs in for #1270 and #1308, but do you have an opinion on whether we need a new HTML technique, essentially the HTML equivalent of ARIA 11, as Carolyn suggested? She didn't open an issue for that/those:
|
For the sake of expediency, I'd be more inclined to do just one technique. Unless there is some keyword search advantage? The fastest turnaround solution is what Carolyn originally suggested -- just shove a reference in the ARIA technique to HTML implicit equivalents. You can always take that out (or add a cross-reference) once the html technique is in place. |
Creating one technique was what I was thinking—there's no need to create separate pages for each HTML element. I'll start on that this week. |
Added an Issue 291 branch. Notes: Updated ARIA11Using ARIA landmarks to identify regions of a page. Updated content to:
Initial commit of new HTML100 TechniqueUsing HTML landmarks to identify regions of a page. This page creates an HTML version of the ARIA 11 document. |
ARIA11 (latest) lists "application" as a landmark role, but it is no longer considered to be a landmark role.
This change was made 12-Nov-2015:
Also, ARIA11 should mention the generic role "region", which is one of the landmark roles.
Note that the HTML
<section>
element maps to region role by default.Note also that the spec for region mentions that:
AT do not expose region role or section element as a landmark unless it has a label, so the technique should require a label for using region role or section element as a landmark.
Please also add a link to this excellent browser extension for landmark navigation in the resources section.
The text was updated successfully, but these errors were encountered: