Skip to content
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

Loading spinner #179

Open
KirTitov opened this issue Jun 12, 2024 · 2 comments
Open

Loading spinner #179

KirTitov opened this issue Jun 12, 2024 · 2 comments

Comments

@KirTitov
Copy link

KirTitov commented Jun 12, 2024

Loading spinner

SIPP (Self-Invested Personal Pension)

Overview

Tell a user they need to wait because something is happening.

image

Is it useful and unique?

This pattern helps users to manage expectations.
It already exists in the Home office design library

Link to the loading spinner in Home Office design library

When to use this component

Use a loading spinner to inform users they need to wait for something to happen. For example, you can use a loading spinner to show that a result is taking time to process.

Consider whether the speed and responsiveness of the service can be technically improved before using a loading spinner.

Research on this pattern

The loading spinner is used by:

Atlas caseworking system
Manage appointment booking
Generic ID verification web
Another department found that using an animated loading spinner gave users more confidence that something is still happening, over a static message.

@shabana-ali
Copy link

There is a discussion regarding this on the GOV.UK Design System backlog alphagov/govuk-design-system-backlog#28

From an accessibility perspective, we need to ensure:

  • it is progressively enhanced, i.e. works without JavaScript
  • the progress is relayed to back to all users, e.g. screen reader users, users with cognitive disabilities
  • the indicator is visible to all users, e.g. Windows High Contrast mode, screen magnification users

@Jon-Rowe-HMRC
Copy link

Agree with Shabana's comments.

Suggest any findings are posted in the GDS thread as this issue seems cross-gov, not HMRC specific.

When creating the HMRC file upload pattern we replaced spinners with tags as they were more informative for this use case (and already on-pattern): https://design.tax.service.gov.uk/hmrc-design-patterns/file-upload/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants