Describe the Bug
Form inputs are inconsistently styled and have accessibility issues with differentiating between valid/invalid states.
Steps to Reproduce
Steps to reproduce the behavior:
- Install "Toggle Grayscale" Chrome extension (install link at CITguy/toggle-grayscale)
- Navigate to https://helixdesignsystem.github.io/helix-ui/components/text-input/
- Click "Required" checkbox under Control Options
- Click within Text Input in the example
- note the appearance of the input
- Click away from Text Input (leaving input blank/invalid)
- note the appearance of the input
- toggle the Toggle Grayscale extension ON (converting page to grayscale)
- repeat steps 2-7
Expected behavior
- Focus shadow should be consistent between Focus (valid) and Focus (invalid)
- Focus (invalid) should be distinguishable when compared to Focus (valid) when Toggle Grayscale is turned ON
Screenshots
| Mode |
Focused (valid) |
Focused (invalid) |
| Color |
 |
 |
| Grayscale |
 |
 |
- "valid" + focus does not have shadow, while "invalid" + focus does have shadow
- "valid" vs "invalid" underline color cannot be easily differentiated by users with color vision deficiencies
Environment
Please complete the following information:
- Device: any
- OS: any
- Browser:
- Chrome (because its the only browser that the Toggle Grayscale extension works on), but the design is equally broken in all browsers
Additional Context
WCAG § 1.4.1 Use of Color - Level A
Describe the Bug
Form inputs are inconsistently styled and have accessibility issues with differentiating between valid/invalid states.
Steps to Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
Environment
Please complete the following information:
Additional Context
WCAG § 1.4.1 Use of Color - Level A