Repository navigation
Images #6013
Replies: 13 comments
|
It would be good to add other techniques of adding images, not just SVGs with information: Decorative SVGs: Background images are treated as decorative by default. Adding alternative text can be done in multiple ways, for example by adding text within a visually hidden element. But more people benefit when the alternative text is visible to everyone. That's true for all techniques.
Although the Design System should probably not be as absolute as that, it's worth mentioning it as a good alternative option. There are more techniques, like icon fonts and special characters like emojis. But I suspect they won't be very relevant to the Design System and/or government services in general. |
Revisit guidance on alt textWe updated the alt text guidance on the images page of the GOV.UK Design System, to be clearer about what to include. While looking at this, we agreed to review the rest of the alt text guidance in the future. We want your help to improve this page. Tell us your ideas, experiences, and best practices for writing alt text. Alternatively, you can propose a direct change to the code using a pull request. |
|
Adding another vote for guidance around the correct use of SVG's on a page. I had feedback asking where guidance could be found as the service is using an SVG image (so it scales) within a anchor to link to another service (on the NHS). It could cover:
|
|
We could consider adding a responsive image solution that also factors in more modern image formats (e.g. WebP, AVIF, JXL). Example markup using the <picture>
<source srcset="/images/priority-hints/image-name.avif 794w" type="image/avif">
<source srcset="/images/priority-hints/image-name.webp 794w" type="image/webp">
<img loading="lazy" class="figure__image" src="/images/priority-hints/image-name.png" alt="Image alt text" width="794" height="596">
</picture>Can be used as a progressive enhancement, with older browsers falling back to the PNG. |
|
Another small accessibility-related thing about inline SVGs is that they are focusable in IE. That means it can get quite annoying on pages with multiple online SVGs for people who navigate with keyboard only (including screen reader users). |
|
I'm looking for examples of more specific image information. The closest I've found so far are: HMG (Her Majesty's Government) There is separately guidance about accessible animations and videos as part of "How to create accessible content for websites" section of GDS guidance 'Planning, creating and publishing accessible website content' Home Office
Office for National Statistics (ONS) Department for Work and Pensions (DWP) HM Revenue and Customs NHS Design System |
|
Other illustration styles out in the wild: EU document check app Notably, the NHS app and HMRC app do not use illustrations (I think)> |
Hi, I am also looking for information on the usage of illustration. The example you have used here is fairly similar to what we use on the Apply for a Nino - instructing the user to take a "selfie" and take photos of their documents using illustrations. Unfortunately I have not found any specific guidelines about using illustrations or photography. Are we good to just use illustrations? Should we use photography instead? My concern with illustrations is about the perfection on them. We have observed an issue on the Apply for a Nino application, specifically on the selfie with a passport screen, where users are having issues to get the passport readable. |
|
Recommend remove 'mainstream' from first par under Alternative text. Alternative text |
|
We've used images on our DFE service, which is a training platform for early years providers. We had overwhelming feedback during alpha about breaking up the text heavy nature of a training service, with positive imagery, which we use for decorative purposes. We have used a few diagrams, and where we have done so we add the detailed explanation of the diagram in the main body of the learning material. We've found that users find training more engaging with images, and it encourages a positive learning environment. |
|
In March 2023, we updated the Images page to help teams make decisions on when to use images in their services. In particular, we added a section on how to use images and ensure they’re as accessible as possible — giving advice to teams on how to meet or surpass relevant WCAG AA guidelines, in line with the GOV.UK Design System accessibility strategy. To help us validate that this guidance is useful and practical for service teams across government, we want to hear from you. We’re looking for feedback about any of these areas:
Give us your feedback and examples by posting a comment in this discussion. |
|
We have removed the 'Experimental' tag from components, patterns, and guidance in the Design System 😌. The tag was being used on the images guidance to raise awareness that more research is needed to validate it. We still want to get this feedback and we recently published new guidance on how to share findings from users which we hope will make it easier to collect information about how our Design System is being used across services. |
InsightsOn the Baby Loss Certificate service, we have used an image of the blank certificate that users will receive to set expectations and remove concerns and worries users had about what it would look like when they receive it. We also found that users wanted the image to open in a new tab so they could refer to it when completing the rest of their application to see how the answers would be used. From user feedback, we added the text "SAMPLE" to make it clear that this was a sample and would not display any information the user has entered so far.
MethodsFindings were gathered from user research sessions and feedback received from service surveys. “I thought it was very helpful to be able to see a blank certificate before completing the form” More informationPrototype link (password: NHSBSA) |





Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Use this issue to discuss images in the GOV.UK Design System.
Description
When and how to use imagery on GOV.UK.
All reactions