-
Notifications
You must be signed in to change notification settings - Fork 165
[terra-form-select] non-selected option does not have high enough contrast #1917
Comments
My understanding from previous conversations with UX was that certain non-interactive or disabled content was not required to pass WCAG 2 AA contrast ratio, but was required to pass another contrast ratio standard. That said, I don't think there is a way to circumvent this aXe failure so if there is a way to bring the placeholder text into the right contrast threshold to pass this test I think we should, assuming UX agrees with the change and can provide a new set of colors. cc: @neilpfeiffer |
@scottwilmarth Do you have any thoughts on this? |
|
Thanks @dv297 and @StephenEsser @bjankord. We can update the placeholder text color to For reference to match: terra-core/packages/terra-form-input/src/Input.module.scss Lines 25 to 26 in cb128f5
terra-core/packages/terra-form-input/src/Input.module.scss Lines 47 to 48 in cb128f5
and terra-core/packages/terra-form-textarea/src/Textarea.module.scss Lines 34 to 35 in cb128f5
terra-core/packages/terra-form-textarea/src/Textarea.module.scss Lines 55 to 56 in cb128f5
|
Bug Report
Description
When running aXe on terra-form-select's doc page, this "serious"-level problem occurs.
Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds
Steps to Reproduce
Additional Context / Screenshots
Example of terra-form-select with nothing selected
Expected Behavior
aXe test should pass
Possible Solution
Increase contrast
Environment
The text was updated successfully, but these errors were encountered: