UKHO / admiralty-design-system

MIT License
4 stars 0 forks source link

[BUG]Heading elements have been used to style content on the page. #178

Open KatiePUX opened 3 months ago

KatiePUX commented 3 months ago

Heading elements have been used to style content on the page.

Outcome of DAC Accessibility Audit: https://ukho.sharepoint.com/sites/EXT_Data_Upload/Shared%20Documents/Forms/AllItems.aspx?OR=Teams%2DHL&CT=1711376954679&clickparams=eyJBcHBOYW1lIjoiVGVhbXMtRGVza3RvcCIsIkFwcFZlcnNpb24iOiIyNy8yNDAyMjkyMDYwMiIsIkhhc0ZlZGVyYXRlZFVzZXIiOmZhbHNlfQ%3D%3D&id=%2Fsites%2FEXT%5FData%5FUpload%2FShared%20Documents%2FGeneral%2FAccessibility%20Audit%2FPrivate%20Beta%2FDAC%20Accessibility%20Report%20WCAG%202%2E2%20UKHO%20UDU%20130324%20Final%20Version%2Epdf&viewid=8b1f0a9e%2D2897%2D4a4d%2D8283%2Dcc660e97e3e4&parent=%2Fsites%2FEXT%5FData%5FUpload%2FShared%20Documents%2FGeneral%2FAccessibility%20Audit%2FPrivate%20Beta

(Page 37)

WCAG Reference: 1.3.1 Info and Relationships (Level A) Understanding Info and Relationships | How to Meet Info and Relationships Issue ID: DAC_Heading_Styling_01 URL: https://ukhodataupload.admiralty.co.uk/external/dashboard Page title: Dashboard Journey: 1.2

A heading element has been used for styling the font for a button. This instance can be found with the ‘start here’ button on the page. As the button text has been written in a h3 element, screen reader users are relayed that this text is a heading both in and out of context, when it does not introduce content, which contradicts the purpose of the element.

KatiePUX commented 3 months ago

Considered A standard only so high priority

KatiePUX commented 1 month ago

Tickets 114, 157, 178, 149 linked - let team Kai know when you are working on these so they can make adjustments when required