Cognitive Accessibility Design Pattern: Accept different input formats
I need inputs to accept different formats and not mark them as mistakes.
What to Do
Accept all format variations in text inputs for values such as currency, time zone, locale, address, or credit card number.
How it Helps
Forgiving form entry processes help the user fill out forms, without an overwhelming amount of errors. They can avoid asking for help when errors cause them problems. This reduces frustration while enhancing the user’s autonomy and independence.
This benefits anybody with a learning and cognitive disability or age related forgetfulness. It will also help anyone who is used to a different format.
For example, a user with age related forgetfulness enters their phone number with hyphens inserted. They receive an error message, because the system does not accept that format. They wonder if they have forgotten their phone number or made a different mistake. They stop trying to use the form.
- Platform facilities for flexible input types and validation.
- Research and support for different formats that might be entered, including international variations.
- Minimal required fields.
Flexible input fields that accept different formats. For example, an input
field that accepts:
- various currency symbols,
- a credit card number with or without spaces,
- telephone numbers as written in many regions, including country code, region code, and number using optional brackets, and
- international characters such as those with accents.
- Restricting entries to arbitrary lengths.
- Insisting on specific separator characters if they are not required and can be ignored.
Input fields that do not accept the format that the user may use. For
- Forcing users to use a specific currency value that they may not be their currency.
- A credit number field that requires no spaces even though cards have numbers printed with spaces.
- Telephone number field will not accept + codes or brackets.
User Stories and Personas
- Alison : An Aging User with Mild Cognitive Impairment
- Gopal : A Retired Lawyer with Dementia
- Jonathan : A Therapist with Dyscalculia
- Kwame : A Traumatic Brain Injury Survivor
- Maria : A User who has Memory Loss
- Sam : A Librarian who has a Hemiplegia and Aphasia
- Tal : A Student who has Dyslexia and Impaired Eye Hand Coordination
- Yuki : A Yoga Teacher who has AD(H)D