Closed CharlotteDowns closed 1 year ago
This would need a minor change to the EtP button to allow for HTML content to be used for the inner text. Currently only plain text is allowed, but we would need to allow teams to provide their own visually-hidden text for localisation purposes.
This could be snuck into the 4.7.0 release quickly, but it's not an absolute requirement and we can add it later.
This issue is from May 2023 external accessibility audit report.
Usability issue
Issue ID: DAC_Usability_Exit_Button_01
URLs: https://govuk-frontend-pr-3503.herokuapp.com/full-page-examples/child-maintenance
Screen shots
The ‘Exit this page’ button did not inform users of screen reading assistive technologies of its emergency purpose with the label. Although this may already be conveyed on a previous page, it does not mean that the user will always remember this information.
Current code ref(s)
#main-content > div.govuk-exit-this-page > a
Screen reader comments
Solution
Consider adding the term ‘Emergency’ to the button. This can be visually hidden to provide that extra information for users of screen reading assistive technologies, while keeping the current aesthetics.