-
Notifications
You must be signed in to change notification settings - Fork 235
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
Inconsistent GDS guidance on ALT text #1887
Comments
@abbott567 Thanks for flagging this! Will see if we can align. |
I think we need to clarify our guidance, but just wondering if the content guidance for GOV.UK Publisher might be different to other services. For example if you use an icon in your service, it might help to add alt text. A different context to the content published on GOV.UK publishing. |
Yeah good point @joelanman - I think the example in the design system at the moment with Larry the cat could be aligned, and then additional guidance around icons would make it much more specific. |
just a quick update to say this might take a bit longer as we discuss more widely with the accessibility community at GDS. The two areas of guidance (GOV.UK Publishing and the Design System) are run by different teams |
We met with the accessibility community and confirmed that the Content Guidance in the original post is specifically for people using GOV.UK Publisher. We'll continue to look into clarifying our guidance in the Design System. We're looking for examples of images in services (any kind of image) so if anyone knows any, please add to the thread! |
A common example is the rendering of an uploaded photo, either of a person or a document etc. |
@jbuller thats a great example thanks! |
A DVSA friend mentioned the image on their Tyre defects and damage page. It shows a metal probe against a red cloth(?) background, and its alt text is "Tyre probe". |
The Accessibility team gave us some really good feedback about the Design System guidance:
We should also consider advising users to describe the image in the body text (in addition to using alt text):
|
@christopherthomasdesign Wondering about potential first steps towards replacing the example image in the Design System's alt text guidance...should we look in other services for a good, non-decorative, 'real-world' example? |
Some more examples, provided by the Accessibility team, from Web Accessibility Tutorials content on informative images: |
The Product Safety Database contains images uploaded by the service's own users (trading standards officers). The Dept for Education's service also contains some images with alt text. And another service where images are important: View the orphan works register. Big thanks to @frankieroberto for sourcing these examples! |
Some feedback from cross-gov Slack:
|
While you're working on alt text guidance, please also check my comments on the generic "Images" GitHub issue: alphagov/govuk-design-system-backlog#70 (comment) |
@selfthinker Will do, thanks! |
Found an image on Vehicle Tax service: there's a question "Do you have a V11 reminder letter printed in your name?" and then a small image of the letter. The alt is "Image of V11 Reminder Letter". I think the image is to help people find the letter. I wonder if the alt would help blind people know an image exists so they can get help finding the letter if they need it? |
we could also link to the w3c image alt decision tree Edit: we already do! Ignore me |
You already do that (on https://design-system.service.gov.uk/styles/images/). |
This issue was originally about a discrepancy between Design System guidance and 'publishers' guidance. In some cases, Design System advises using the As we looked into alt text more, the issue's scope widened. We realised that Design System's guidance possibly needed revision. For example, because its current image is an unlikely example of what a service would actually use. However, our research into images on government services failed to turn up any appropriate images we could use instead. Following discussion with the Accessibility Team's content designer, we've agreed for now to update our respective pieces of guidance to specify who the guidance is for. Hopefully that will address the original issue. I'll also update the Design System guidance with a link to the 'publishers' guidance. Hopefully this will help redirect any users who accidentally land in the Design System. When a new accessibility specialist joins and has bandwidth to define the best way to use alt text, we can also revisit the Design System guidance. To make sure we do this, I'll create a new issue and link it to this one, so we've preserved everyone's feedback - for example, on the different techniques for adding images. |
Thanks for the update @EoinShaughnessy - We've just changed the alt text guidance in our accessibility manual to also differentiate between GOV.UK Publishing and Service Teams, based on a content review by GDS. So it sounds like it should all hopefully align with those changes. Thanks for persevering with this issue! |
Cheers @abbott567, and thanks for the heads up about the manual update! |
In the Design System guidance on images it covers alt text. The examples show you an example of using the alt attribute to describe the image. For example:
This guidance does not align with the recently updated GDS guidance on alt text in the Content Design guidance on GOV.UK. In this guidance it says best-practice is to use an empty alt attribute on all images and describe the image in the body copy. For example:
The GDS guidance on alt text should be aligned so other teams and departments do not get confused.
The text was updated successfully, but these errors were encountered: