Note: DTA have a 90 day remediation period to address the identified issues within the audit, all issues must be resolved to obtain WCAG 2.2 certification for digital.gov.au.
The list of links in the site header have been visually styled so that it is clear that they represent the global site navigation; however, they have not been marked up in the code as a navigation region.
Landmark regions are a common navigational shortcut used by screen reader users, which can assist in quickly locating page sections and content. They also provide important semantic information on page structure and the purpose of content. The main navigation is generally the primary means of navigation around a site.
When lists of links that function as navigation are not marked up as such in the code, screen reader users may not understand the relationship of the links. Additionally, the list will not be included in the screen reader shortcuts to navigate via landmarks, which may slow users down in finding the content they are looking for.
Expected outcome
Ensure that navigation lists are marked up semantically within a <nav> element.
When there is more than one <nav> element on a page it is recommended to add an aria-label attribute with a unique value.
This will help screen reader users differentiate it from other navigation landmarks on the page. This attribute does not need to contain the word 'navigation' as the role will already be announced by screen readers.
Summary
Via Vision Australia assessment: August 2024
Impact: medium
Note: DTA have a 90 day remediation period to address the identified issues within the audit, all issues must be resolved to obtain WCAG 2.2 certification for digital.gov.au.
Steps to reproduce
digital.gov.au beta | digital.gov.au (https://www.digital.gov.au/policy/digital-experience)
Observed outcome
The list of links in the site header have been visually styled so that it is clear that they represent the global site navigation; however, they have not been marked up in the code as a navigation region.
Code used
Why this matters
Landmark regions are a common navigational shortcut used by screen reader users, which can assist in quickly locating page sections and content. They also provide important semantic information on page structure and the purpose of content. The main navigation is generally the primary means of navigation around a site.
When lists of links that function as navigation are not marked up as such in the code, screen reader users may not understand the relationship of the links. Additionally, the list will not be included in the screen reader shortcuts to navigate via landmarks, which may slow users down in finding the content they are looking for.
Expected outcome
Ensure that navigation lists are marked up semantically within a
<nav>
element.When there is more than one
<nav>
element on a page it is recommended to add an aria-label attribute with a unique value.This will help screen reader users differentiate it from other navigation landmarks on the page. This attribute does not need to contain the word 'navigation' as the role will already be announced by screen readers.
Code example
Related issues
For other issues related to this component, please refer to:
• Issue 9 – List not nested • Issue 10 – Current page shown with presentation alone