Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The non-visual experience of Exit this Page button doesn't make it clear it's a safety feature #3688

Closed
Tracked by #3946
CharlotteDowns opened this issue May 24, 2023 · 1 comment · Fixed by #3989
Assignees
Labels
accessibility audit may 2023 Issues from May 2023 external accessibility audit against WCAG 2.2 criteria exit this page
Milestone

Comments

@CharlotteDowns
Copy link
Contributor

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

Exit this page red button

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

“I was able to clearly navigate to and select the ‘Exit this page’ button. The button appeared at the beginning of the main content section making it easy to locate and use.

However, although I was aware from the label of the button that I would exit the page it was not immediately clear to me that the item was an emergency exit and that my information would be removed from the page. Placing the phrase ‘Emergency’ within the label for example ‘Emergency exit from this page’ with additional hint information advising me that the page will be removed from browsing history would ensure that all screen reader users are aware of the value of this feature.”

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.

@CharlotteDowns CharlotteDowns added accessibility audit may 2023 Issues from May 2023 external accessibility audit against WCAG 2.2 criteria labels May 24, 2023
@querkmachine
Copy link
Member

querkmachine commented Jun 29, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility audit may 2023 Issues from May 2023 external accessibility audit against WCAG 2.2 criteria exit this page
Projects
Development

Successfully merging a pull request may close this issue.

3 participants