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

Fix 'Change' links on settings page #4898

Merged
merged 2 commits into from
Nov 15, 2023
Merged

Conversation

tombye
Copy link
Contributor

@tombye tombye commented Nov 15, 2023

https://trello.com/c/k4m4g5C6/566-fix-issues-with-change-links-on-settings-page

Fixes the following issues:

  • 'Change' link for international letters having no hidden suffix so not saying what it will change to non-visual users
  • all 'Change' links having a space between 'Change' and their hidden suffix, which the JAWS and NVDA screen readers remove when announcing it thereby merging it all into a single, incomprehensible, word

Note: the second issue copies this fix from the Design System v5.

Notes for reviewers

I tested this in JAWS and NVDA, the screen readers with the problem announcing visually hidden text, and all sounding as intended. Same in Voiceover on Mac.

Given that, reviews can just be based on the logic of changes and whether they adversely affect the visual interface.

Borrowed from v5 of govuk-frontend which includes
the changes from this pull request to fix an issue
with how certain screen readers announce spaces in
visually hidden text:

alphagov/govuk-frontend#3836
@tombye tombye merged commit 2291e30 into main Nov 15, 2023
@tombye tombye deleted the fix-change-links-on-settings-page branch November 15, 2023 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants