CUE template: Conformance—Markup
The elements specified below must appear in the order below. Elements to be nested are indicated by nested list items.
Head
- Must have HTML4.01 or XHTML1.0 doctype
- Must have @lang (and @xml:lang for XHTML) specified in html tag
Body
- All navigation must be marked up as ul or ol elements and have a preceding heading (h2 or below) to define the purpose of the menu.
- body@id="qld-gov-au" (CSS signature)
Header
- 1st element: #access (container for skip link navigation menu)
- H2 'Skip links and keyboard navigation'
- Link to #content 'Skip to content'
- Link to #nav-site 'Skip to navigation' (optional)
- Link to #footer 'Skip to footer' (optional) (note: fat footer element should be nested inside footer element if present)
- Link to accessibility statement with text: "Use tab and cursor keys to move around the page (more information)"
- header and banner elements must be contained in #header element, in this order:
- H2 'Site header' (can be visually hidden)
- #qg-logo must link to www.qld.gov.au and contain Queensland Government logo (QG logo) with @alt="Queensland Government"
- #tools element must contain the tool navigation menu including #search-form
- Search input must be called #search-query and have size attribute of 27
- #site-name must link to website homepage
Navigation
- Site navigation must be contained in #nav-site element, in this order:
- H2 'Site navigation' (can be visually hidden)
- List of links
- Section navigation must be contained in #nav-section element, in this order:
- H2 heading for the current site section
- List of links
- Page breadcrumbs must be contained in a #breadcrumbs element, in this order:
- H2 'You are here:' (can be visually hidden)
- List of links (ol)
Content
- Main page content must be contained in #content element, in this order:
- H1 Page title
- Other content
- Asides (content tangentially related to main content) must be contained in .aside elements (can be multiple asides), each containing in this order:
- H2 heading stating purpose of the aside (can be visually hidden)
- Aside content
- Page last updated date must be contained in #document-properties
Footer
- Footer content must be contained in #footer, in this order:
- Fat footer content must be contained in #fat-footer
- H2 Explaining purpose of section (e.g: 'Explore [site name]', 'Our site', 'Site map', 'Haven't found what you were looking for?') (can be visually hidden)
- H2 'Site footer' (can be visually hidden)
- List of links
- Copyright
- Disclaimer
- Privacy
- Right to information (agency websites only)
- Accessibility
- Jobs in Queensland (must link to http://www.smartjobs.qld.gov.au/)
- Other languages (should display language names)
- Paragraph containing '© The State of Queensland (your agency name) YYYY–YYYY'
- Paragraph containing link to 'Queensland Government' (must have @accesskey="1")
- Fat footer content must be contained in #fat-footer