alphagov / govuk-design-system

One place for service teams to find styles, components and patterns for designing government services.
https://www.gov.uk/design-system
MIT License
512 stars 232 forks source link

Use of special characters on website #4024

Closed selfthinker closed 1 month ago

selfthinker commented 3 months ago

This issue is from the accessibility audit of the Design System website by DAC in July 2024.

DAC's description

There was link in relation to issues found by automated testing tools. Within the link text a tilde (‘~’) was included to represent an approximation of 30% issues found. The inclusion of the tilde could be problematic for some users.

Screen reader users may not interpret the tilde as an approximation symbol. They might read it out as ‘tilde’ or ignore it altogether, leading to misinterpretation of the content to what it was intended.

Also, using the tilde alone does not provide clear context or meaning without additional explanation. Users who are not familiar with its use as an approximation symbol may not understand the intended meaning.

Screenshot of text using the tilde symbol

DAC's proposed solution

To ensure clarity and consistency across all users and devices, use the word ‘approximately’ or ‘about’ instead of the tilde to convey the meaning.

Additional instances

As this can potentially happen on any page, this work should include checking all the other pages other links missing context. It might be worth making two different cards for this: One for checking and recording all instances, the other for fixing them.

To save time, it makes sense to audit all the body copy issues together:

Needed roles

Content designer

### Tasks
- [ ] List characters we want to scan for
- [ ] Build process to scan for special characters
- [ ] Run scan
- [ ] Capture report into single document
- [ ] Review document to find instances and decide on actions for each instance
- [ ] Implement actions in PR
- [ ] Review with team
- [ ] Publish
- [ ] Consider adding process to prevent in future
calvin-lau-sig7 commented 2 months ago

For a long while now, I've used this Deque blog from 2014 as my reference on this topic.

Might be a good starting point for us – or otherwise I'd be keen to update my understanding on this area!

calvin-lau-sig7 commented 2 months ago

To detect, we can:

To assess, we can:

To resolve, we can: