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
509 stars 231 forks source link

WCAG 2.2: Confirmation pages ‖ Dragging Movements #2874

Closed querkmachine closed 11 months ago

querkmachine commented 1 year ago

What

Add sentence to confirmation page guidance to ensure that users are able to select and copy information from the page, particularly reference and application numbers, without obstruction.

Resources

Why

The new WCAG 2.2 Level AA criterion 'Dragging Movements' says:

All functionality that uses a dragging movement for operation can be achieved by a single pointer without dragging, unless dragging is essential or the functionality is determined by the user agent and not modified by the author.

As the action of selecting text is typically performed using dragging movements, either with a mouse cursor on desktop or with a finger on touchscreens, we're opting to highlight it here, as this is a situation where is a user is more likely to want to select and copy information.

Even though text selection is typically a user agent function rather than something in authored code, we want to ensure that service teams know not to interfere in the typical user agent behaviour.

Who needs to work on this

Who needs to review this

Done when

dav-idc commented 11 months ago

This has been added to the 'WCAG 2.2 content updates' document.

calvin-lau-sig7 commented 11 months ago

Closing issue – content has been drafted, reviewed and added to pull request #3090 as part of https://github.com/alphagov/govuk-design-system/issues/3276.