OZeWAI 2011
Nov. 30, 2011
Nov. 30, 2011
“regions of the page intended as navigational landmarks”
<div id="main" role="main">
“structures that organize content in a page”
| HTML5 Element | Implied ARIA Role | Permitted ARIA Roles |
|---|---|---|
| * Not a landmark role | ||
| article | article* | article, document, application, or main |
| aside | complementary | note, complementary, or search |
| footer | none | contentinfo (one per document) |
| header | none | banner (one per document) |
| nav | navigation | navigation |
| section | region* | alert, alertdialog, application, contentinfo, dialog, document, log, main, marquee, region, search, or status |
Refer to the HTML5 Only Test Case.
Refer to the HTML5 Plus ARIA Test Case.
IE9 passes an accRole of “text” for the <header> element set with role=“banner”
MSAA: <header> with role=“banner” gets accRole of “banner”
IA2: role is “header”; “xml-roles” attribute is “banner”
<header> with role=“banner” gets an AXRoleDescription of “banner”
<aside> → “complementary landmark”<footer> → “contentinfo landmark” only once per document, if at all<header> → “banner landmark” only once per document, if at all<nav> → “navigation landmark”<article>, <section> → not landmarks| HTML5 Element | NVDA 2011.3 |
|---|---|
| article* | No |
| aside | complementary (FF Only) |
| footer | contentinfo (FF Only) |
| header | No |
| nav | navigation (FF Only) |
| section | No |
NVDA is not using the DOM, but relying on the APIs:
nav, footer, and aside are considered landmarks| ARIA Role | NVDA 2011.3 |
|---|---|
| application | No |
| article* | No |
| banner | Yes |
| complementary | Yes |
| contentinfo | Yes |
| form | No |
| main | Yes |
| navigation | Yes |
| region* | No |
| search | Yes |
| HTML5 Element | NVDA 2011.3 |
|---|---|
| article* | article (IE6+ and FF) |
| aside | complementary (FF Only) |
| footer | contentinfo (FF Only) |
| header | No |
| nav | navigation (IE6+ and FF) |
| section | No |
article is not a landmarkfooter is a contentinfo landmarkarticle and nav elements as landmarks:
article and nav elements are considered landmarks, even in IE6footer and aside elements are called contentinfo and complementary landmarks| ARIA Role | NVDA 2011.3 |
|---|---|
| application | Yes |
| article* | Yes |
| banner | Yes |
| complementary | Yes |
| contentinfo | Yes |
| form | Yes |
| main | Yes |
| navigation | Yes |
| region* | Yes |
| search | Yes |
article and region are not landmarksSectioning Elements: article, aside, nav and section
<h1>Level 1</h1><section><h1>Level 2</h1><article><h1>Level 3</h1></article></section>
<h1>Level 1</h1><h2>Level 2</h2><h3>Level 3</h3>
This should also work:
<h2>Level 1</h2><section><h6>Level 2</h6><article><h4>Level 3</h4></article></section>
<h1>Level 1</h1><h2>Level 2</h2><h3>Level 3</h3>
What JAWS 12/13 do:
<h1>Level 1</h1><section><h2>Level 2</h2><article><h3>Level 3</h3></article></section>
<h1>Level 1</h1><h3>Level 2</h3><h5>Level 3</h5>
For example, in our test page, the h3 nested two sectioning levels deep in our article element becomes an h5.
For more, read JAWS, IE and Headings in HTML5.
<header> bug in Firefoxheader element is not accessible!| HTML5 Element | NVDA 2011.3 |
|---|---|
| article* | No |
| aside | No |
| footer | No |
| header | No |
| nav | No |
| section | No |
| ARIA Role | NVDA 2011.3 |
|---|---|
| application | Yes |
| article* | No |
| banner | Yes |
| complementary | Yes |
| contentinfo | Yes |
| form | No |
| main | Yes |
| navigation | Yes |
| region* | No |
| search | Yes |