Navigation: Headings
Evaluation Rules
The Accessibility Extension does not provide automated evaluation of the rules 4, 5, 6 and 7.
| no. | FAE 2007 | FAE 2008 | FAE for ARIA | Description |
|---|---|---|---|---|
| 1 | Pass/Fail | Pass/Fail | Pass/Fail | The page should contain at least one and no more than two h1 elements. |
| Pass/Fail | 2 | Pass/Fail | Pass/Fail | Heading elements that follow the last h1 should be properly nested. |
| N/A | 3 | Pass/Fail | Pass/Fail | All headings (h1..h6) must contain content. |
| 4 | N/A | Pass/Fail | Pass/Fail | Each container element that appears to be a navigation bar or menu should be immediately preceded by a heading element, typically a h2 element. |
| 5 | N/A | Pass/Warning | Pass/Fail | The words in the h1 element content must also be in the title element content. Spacing and punctuation in the content of the h1 and title elements are ignored. NOTE: If abbreviations are used in the title and/or h1 content, they will be replaced by their expansion defined in abbr and acronym elements defined on the web resource before comparisons between the title and h1 are made. |
| 6 | N/A | Pass/Warning | Pass/Fail | The content of headings of the same level within the same section should be unique. |
| 7 | N/A | Pass/To Do | Pass/Fail | The last h1 element content for web pages within the same domain must be unique. |
| 8 | N/A | Pass/Check | Pass/Check | Heading content should be concise (less 65 characters). |
| 9 | N/A | N/A | Pass/Fail | Elements with
|
| 10 | Pass/Fail | N/A | N/A | The h1 element content must exactly match a substring in the title element content. |
| 11 | Pass/Warning/Fail | N/A | N/A | The text content contained in header elements (h1..h6) should range between 1 and 20 percent, inclusive, and not exceed 50 percent of the total text content of the page. |
Dialog Box
Headings List
- This list itemizes all header elements as well as elements with appropriately defined
roleattribute. - Selecting an item in the list, by clicking on the item or by using the arrow keys, highlights the corresponding heading in the browser.
- Selecting an item with pink background, by clicking on the item or by using the arrow keys, displays failure statement in the Accessibility Information area.
- Columns
- Level - A
h1element has a level of 1,h2element 2,h3element 3, and so on. This entry is left blank for non-header elements in the list. - Role - The
roleattribute for element with appropriately definedroleattribute is displayed. This entry is left blank for a header element without definedroleattribute. - Text - The text content of header element or the text content of the element with appropriately defined role attribute is displayed.
- Order (hidden) - The sequence in which the items appear on the page is displayed.
h1-h6elements are first in the list, in the sequence in which the items appear on the page, followed by non-header elements that have appropriately definedroleattributes, in the sequence in which they appear on the page.
- Level - A
Accessibility Information
- Undefined role attribute, valid roles include 'heading', 'region', 'main', 'secondary', 'navigation', 'banner', 'contentinfo', 'definition', 'note', 'seealso', and 'search'.
- Fail: The page should contain no more than two h1 elements.
- Fail: Heading elements (h1..h6) should be used for structuring information on the page.
- Fail: Heading elements that follow the last h1 should be properly nested.
Buttons
- View Summary - opens a new browser window and displays the contents of the dialog box in the new browser window, allowing the user to see/print the entire data set.
- Sort by Document Order - contains the same functionionality as clicking the Order column heading; it will toggle the order of display of the content of the list between ascending and descending order of appearance on the page.
- Move To - closes the dialog box, and shows in the browser the heading that corresponds to the selected item.
- Close Window - closes the dialog box.
HTML Markup Details
h1- Use
h1as a unique title for a web resource - There should be only one
h1on a web resource h2-h6- Use
h2-h6elements as sub-headings to identify major and minor sections - Heading should be properly nested using the numerical values of the header elements.
h2should be used as the next sub-heading after ah1h3should be used as the next sub-heading after ah2h4should be used as the next sub-heading after ah3h5should be used as the next sub-heading after ah4h6should be used as the next sub-heading after ah5
