Skip to main content
Toggle to Welsh

Accessibility

Set the page language

Set the page's default language, so screen readers pronounce the content correctly. This meets WCAG 2.2 success criterion 3.1.1 Language of Page.

  • On English pages, use lang=en.
  • On Welsh pages, use lang=cy.

The Language toggle component sets the language of the toggle link for you. This meets 3.1.2 Language of Parts.

Use the component’s link text as it is. Do not add an aria-label or hidden text to the links. This meets 2.5.3 Label in Name.

See the Language toggle accessibility guidance for why this matters in Welsh.

Test with Welsh speakers who use voice recognition

None of the main voice recognition tools support Welsh. On Welsh pages, users have to say Welsh button and link text. Their software may not recognise the words.

Include Welsh speakers who use voice recognition software in your research. If you have findings, email the Design System team at dwp-design-system@engineering.digital.dwp.gov.uk.

WCAG success criteria

When testing, pay particular attention to the following WCAG success criteria:

For more about building accessible services, see the DWP Accessibility Manual.

Get support

Need help implementing this in a prototype or production build? Get support from the Design System team.

Give feedback

We depend on insights from real projects to update and improve the design system. If you use something we made, tell us how it went.


Could we improve this page?

Send questions, comments or suggestions to the DWP Design System team.

Last updated: