-
Notifications
You must be signed in to change notification settings - Fork 0
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
Highlight incomplete fields #14
Comments
It wonder if we should move the 'has-error` code into core so that the components can implement their own error styling? Or make matching instructionError aware? |
Not a bad idea to move this to core since we already have showInstructionError() there.
Yep, then the |
Border seems to be the standard. Note, this will need to be compatible with Vanilla buttons PR. The PR uses
Agreed, and this can be handled via the theme.
I think this is most useful for components with multiple questions/entries, as it identifies which of the items require further input. This applies to Matching and Textinput. See below for Textinput example. Please flag if there's other components I've missed. In addition, if we are going to visually highlight which items require further input then we should do the same programatically? Looking into this, I think Ref: https://www.w3.org/WAI/WCAG21/Techniques/aria/ARIA21 |
I've created this PR for the |
@kirsty-hames There's also the possibility of a pseudo-element like a
Thanks, I always forget that Text Input can have multiple items. I've updated the ticket description above.
Nice! I think that would work well here. |
Subject of the enhancement
Consider highlighting any incomplete fields. Mostly would apply to components with multiple items like Matching and Text Input.
The text was updated successfully, but these errors were encountered: