Update to 'Exit this page' default text may cause issues for voice control users #4390
Labels
accessibility concern
Bug, feature request or question about the accessibility of a portion of a product (not a WCAG fail)
exit this page
#3989 updated the default content of the 'Exit this page' button to add 'Emergency' as visually-hidden text at the start of the button.
Adding visually-hidden content to the start or middle of text on interactive elements can cause issues activating them for voice control users (eg Dragon, Apple Voice Control) because the label exposed to these tools ('Emergency Exit this page') doesn't match what the user will say ("Click 'Exit this page'"). Generally voice control needs an exact match on the start of the string, but anything extra at the end is fine - so making it something like
Exit this page<span class="govuk-visually-hidden"> in an emergency</span>
would probably be OK.References:
https://www.smashingmagazine.com/2022/06/voice-control-usability-considerations-partially-visually-hidden-link-names/#problems-with-partially-visually-hidden-text
https://www.sarasoueidan.com/blog/accessible-text-labels/#improving-the-experience-for-screen-reader-users-whilst-keeping-it-accessible-to-speech-input-users
I haven't tested yet but I have access to Dragon so I'll test in that to confirm ASAP. I just spotted this change in the v5 beta release notes and wanted to flag it as quickly as possible.
The text was updated successfully, but these errors were encountered: