alphagov / govuk-design-system-backlog

GOV.UK Design System Community Backlog
31 stars 2 forks source link

Payment card details #80

Open govuk-design-system opened 6 years ago

govuk-design-system commented 6 years ago

Use this issue to discuss the payment card details pattern in the GOV.UK Design System.

What

Help users provide card details so that you can make payments to them or accept payments from them.

This pattern was contributed to the Design System by Sonia Turcotte at GDS on 9 August 2018.

Why

This pattern:

frankieroberto commented 6 years ago

Any component for this should be tested with the 'remember bank card details' feature on modern browsers, which can save users lots of time (and make payment possible, if they don't have their card with them).

This might mean adding the following autocomplete values: cc-number, cc-exp-month, cc-exp-year, etc. (see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-autocomplete for the full list).

dashouse commented 6 years ago

I have split out this Issue, this is now specific to Card details. There is a separate issue for Bank details

timpaul commented 6 years ago

Working group review session

This proposal was reviewed by a panel of designers from GDS, HMRC, DWP, DEFRA and Home Office on the 16 August 2018.

The panel agreed that:

The panel also made the following recommendations.

Design

Guidance

Examples

Many thanks to @soniaturcotte for contributing this pattern.

dashouse commented 5 years ago

Dropbox Paper audit

On 15 October 2018 the Design System team reviewed a Dropbox Paper document discussing the Credit card details pattern.

The aim was to reduce the number of places containing guidance and code by:

Below is a record of the outcomes of that review.

If you need to, you can see the original Dropbox Paper content in the internet archive.

Review outcomes

Updates to the Design System

The Design System team has carried out the following update to ensure that relevant, useful content from the Dropbox Paper file is added to the Design System.

mikeash82 commented 5 years ago

@gavinwye commented on 31 Jan 2017

Collecting bank account details image

Displaying bank account details image

@alex16wake commented on 25 Jul 2017

image

@adamliptrot-oc commented on 30 Oct 2017

Do we have any UR on the best way to present a Sort-code input? With the 3 input option shown in one of the screenshots how would you mark up that? It feels like the label for each input would be odd for screenreaders.

@jenrahm commented on 31 Oct 2017

image

image

@jennifer-hodgson commented on 8 Mar

Repayments service Prototype here: https://www.prototypes.tax.service.gov.uk/repayments-prototype/version2/refund-and-bank-details repayments

36degrees commented 5 years ago

@mikeash82 there is a separate issue for bank details.

jeanesims commented 1 year ago

Can full stops be added to hint text to improve accessibility? This is because full-stops at the end of hint prevent the hint running into any error message that follows the hint text for screen-reader users.