wiki:rules-messaging/structure-content

Version 4 (modified by nhoyt, 6 years ago) (diff)

--

RULES MESSAGING

Structure/Content | Styles/Readability | Images | Links | Tables | Forms | Widgets/Scripts | Audio/Video | Keyboard Support | Site Navigation

Structure/Content Rules

1. First landmark heading H2

2. H1 should be in MAIN landmark

3. Headings must be descriptive

ACTION

MC: Verify that each of the 0 heading elements describes the section that follows it.

APPEARS TO BE BROKEN.

4. Headings must have text content.

5. Headings nested in landmarks

6. Identify language changes

DEFINITION

OLD: Elements with text content in a language different from the principal language of the page must use the LANG attribute to identify the language change using a valid IANA language code

NEW: Elements with text content in a different language from the principal language of the page must use the LANG attribute with a valid IANA language code to identify the change.

7. No more than one BANNER landmark.

8. No more than one CONTENTINFO landmark

9. Page must have MAIN landmark

DEFINITION

OLD: Each page must contain at least one MAIN landmark

NEW: Each page must have at least one MAIN landmark that identifies its main content.

ACTION

Verify the main landmark identifies the main content of the page

COMMENT

This rule combines two tests: The DEFINITION implies that the test is for presence of MAIN landmark. The ACTION (a manual check) asks the user to verify whether the main content is encapsulated by a MAIN landmark, which is somewhat of a mismatch.

ACTION (when MAIN landmark is missing)

OLD: V: Page does NOT contain a MAIN landmark

NEW: V: Add a MAIN landmark to the page.

10. Page must have NAVIGATION landmark

11. Page must use language code.

12. Page should have H1 element

13. Page structure must be defined by landmarks

PURPOSE

OLD: Landmarks provide a way to organize content of a page to users of assistive technology, similar to visual and interaction designers organize information for people using a graphical rendering of the content.

NEW: Landmarks provide a way to organize the content of a page for users of assistive technologies, analogous to the visual organization that consumers of a graphical rendering would experience.

14. Sibling headings must be unique

15. TITLE must identify website and page