-
Notifications
You must be signed in to change notification settings - Fork 4
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
Copy codes button design pattern proposal #170
Comments
Thanks Alistair. I had a few chats about this potential pattern with Daniel last year. Ideally the next step would be for us to talk about this with the design system working group. If it's received positively, it would then be added to our pattern backlog. The next potential meet is 1pm 5 August. Please slack me to let me know if you can make it. If not we can arrange another time. Best, Jon |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pattern name - Copy codes/text button pattern
Project : HEC - Hidden Economy Conditionality - Do a tax check when renewing or applying for a license
Overview

The copy codes button helps users by reducing the amount clicks needed to copy code/piece of text and improves the experience for screen readers
Is it useful and unique?
The copy codes button is useful as it helps users to reduce the amount of clicks needed to copy a code or piece of text. From 3 down to just 1 click. It is also particularly useful for users of screen readers as it reduces the steps needed to copy a piece code/text, as the user can just tab on the screen reader and select the button to copy rather than having to type, search for the word and then copy. I can see this being useful for other teams in any situation where a code or text needs to be copied to improve the accessibility of the page and service.
The copy codes button is unique as it does not appear on the current GDS but has been inspired by the copy code button which exists in the design system.
Other components or patterns we've tried
Originally the page was tested with a summary list pattern to house the codes which was sufficient for users but could be improved upon for usability by the introduction of a copy button.
original page with summary list pattern shown below

Research on this pattern
The new copy codes button was tested with users in 1 round and it was found that it was easier to use for applicants and because of the usability benefits it was a logical choice to use. As this is a pattern already in use in the GDS as a copy code button it has some advantages as it is already being used and tested for usability . So far I think more accessibility testing still needs to be done to determine it's advantages over the existing and build on conversations with Adam Liptrot on the accessibility team.
It would be great to have some feedback and opinions on this proposal,
Dan
The text was updated successfully, but these errors were encountered: