-
Notifications
You must be signed in to change notification settings - Fork 5
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
Hint text for form fields/Refactor Input Text component #10234
Comments
I think we have 2 options here
Designs in Figma
|
Option ii. is similar to what we'd previously built ourselves, but I think we reverted to a more traditional (closer to option i.) approach for simplicity a while ago. The example in the link above is actually an Auth0 hosted page, so not an input we have control over. I think given we moved away from option ii. the obvious route for us to take is to fill out what we already have in line with option i. In this case, would you suggest updating everything in line with the FRP form fields, or just adding the hint text to what we have in the first instance? We recently updated the validation error messaging (#10318) to include an example email format ('[email protected]') as a result of a related thing that came out of the accessibility consultancy research. From memory, GOV.uk was referenced as the gold-standard of how to handle this – I've just had a look at the Email address pattern in the GOV.uk design system and while it does have hint text, that interestingly doesn't reference the email address format (or include any placeholder). What do you think @j-jaworski? Currently we always have a Maybe we could take a look at the actual text inputs on the site and make a decision based on that – I don't think there are too many of them. |
AFAIK it's only the search bar (which is displayed in an array of pages but always with the same component) and the newsletter pages (the block at the bottom of pages and the one on |
Lots in this and trying to unpack it all and make sense, apologies if I have misunderstood or missed something. My thoughts:
I have added designs for this pattern to this Figma file Here are some screenshots for reference |
Changes are in prod |
What
Placeholder text disappears when a form field is navigated to. Users need additional cues / hint text whilst filling in a form field.
Where
Form fields
TODO
Background
From the Hassell Inclusion accessibility audit August 2023.
Dovetail: https://proficient-wallaby-dpwd.dovetailapp.com/insights/Need-additional-cues-for-entering-information-in-form-fields-MjtohTWntPJtuP7J1y1YJ
Miro board: https://miro.com/app/board/uXjVMjsL5YE=/
The text was updated successfully, but these errors were encountered: