WCAG 1.1.1 A: Linked logo has inaccurate text alternative (Issue 1) #382
Labels
A11y
Issue is related to accessibility
Core CivicTheme
Core CivicTheme issue
Type: Defect
Issue is a defect
Milestone
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 digital.gov.au logo used throughout the site header is an image link to the home page. The alt-text for the logo is inaccurate as it does not contain the visible text within the logo or describe the link's destination. The link consists of multiple
<img>
elements with the alt-text of "Logo image" (no default ability to apply alt text to the 2 separate images - AusGov logo and digital.gov.au beta logo).Furthermore, additional information has been added via the title attribute for the link that is not available elsewhere in the header or close to the link (by default this is generating from site slogan input field).
Text alternative does not contain logo text
Additional content in the title attribute only available via pointer hover
Code used
Why this matters
When text alternatives for logos do not contain all visible text, screen readers are unable to convey all of the information that is presented visually to users.
When text alternatives do not describe the link destination, it may be unclear to screen reader users what the purpose of the link is and where it will take them.
Additionally, information added via the title attribute will only be available to users who are able to move pointer hover over the link and some screen reader users.
Expected outcome
Ensure that when logos are linked, the alt-text contains all text in the image, the link destination and the word 'logo'. The alt-text does not need to contain the word 'link' as this is already announced by screen readers.
Ideally, add the text contained within the title attribute as visible text within or below the logo. While this information is available in the site footer, it may not be easily discovered by users. The title attribute can then be removed.
Code example
The text was updated successfully, but these errors were encountered: