forms

31 cases on this page, 35 instances in total. Each is wrapped in an element carrying data-dl-case. Cases marked correct contain no defect: flagging one is a false positive.

forms-error-colour-only

Error field identified by colour alone · defect · 1 instance · F81

forms-error-colour-and-text

Error field identified by colour and text · correct · 1 instance

Error: card number must be 16 digits.

forms-no-error-prevention

Financial transaction with no confirmation or reversal · defect · 1 instance

forms-error-prevention

Transaction that is confirmed and reversible · correct · 1 instance

You will be asked to confirm before the transfer is made, and it can be cancelled for 24 hours.

forms-redundant-entry

Information the user already gave, asked for again · defect · 1 instance

Delivery address (step 2)

Enter the same postcode you gave in step 1.

forms-no-redundant-entry

Earlier answer carried forward · correct · 1 instance

Billing address (step 2)

Pre-filled from step 1. Change it if billing differs.

forms-input-no-label

Text input with no accessible name · defect · 2 instances · F68

forms-input-labelled

Text input with a correctly associated label · correct · 1 instance

forms-placeholder-as-label

Placeholder used in place of a label · defect · 2 instances · F68

forms-placeholder-with-label

Placeholder alongside a real label · correct · 1 instance

forms-label-for-mismatch

Label for= does not match any control id · defect · 1 instance · F68

forms-label-in-name-mismatch

Accessible name does not contain the visible label text · defect · 1 instance · F96

forms-label-in-name-ok

Accessible name starts with the visible label text · correct · 1 instance

forms-visible-label-no-name

Control with visible label text but no accessible name · defect · 1 instance · F111

forms-autocomplete-invalid

Invalid autocomplete token · defect · 1 instance · F107

forms-autocomplete-valid

Valid autocomplete tokens on identifying fields · correct · 1 instance

forms-multipart-no-names

Multi-part field with no name on each part · defect · 1 instance · F86

Date of birth

forms-multipart-named

Multi-part field with each part named and grouped · correct · 1 instance

Date of birth

forms-phone-parts-no-instruction

Phone number split across fields with no text instruction · defect · 1 instance · F82

Telephone

forms-div-as-control

div made interactive by script, with no role or name · defect · 1 instance · F59

Apply filter

forms-native-button

Native button with a text label · correct · 3 instances

forms-radios-no-fieldset

Radio group with no fieldset or group label · defect · 1 instance

How would you like to be contacted?

forms-radios-fieldset

Radio group in a fieldset with a legend · correct · 1 instance

How would you like to be contacted?

forms-empty-legend

Fieldset with an empty legend · defect · 1 instance

forms-error-not-identified

Invalid field with no programmatic error indication · defect · 1 instance

Invalid

forms-error-identified

Invalid field with aria-invalid and a described error · correct · 1 instance

Error: account number must be 8 digits, for example 12345678.

forms-required-visual-only

Required field marked only with a coloured asterisk · defect · 1 instance

forms-required-programmatic

Required field with required attribute and text instruction · correct · 1 instance

Fields marked required must be completed.

forms-password-paste-blocked

Password field that blocks paste and re-entry · defect · 1 instance · F109

forms-password-paste-allowed

Password field that permits paste and autofill · correct · 1 instance

forms-error-no-suggestion

Error identified but no correction suggested · defect · 1 instance

Delivery date is not valid.