Skip to content
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

Add background-selected-subtle and background-selected-subtle-hover #396

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

britt6612
Copy link
Collaborator

@britt6612 britt6612 commented May 13, 2024

What does this PR do?

adds background for select and select hover to allow for easier color contrast accessibility in Select component.

What testing has been done on this PR?

on the site

Any background context you want to provide?

#390

What are the relevant issues?

#390

Screenshots (if appropriate)

Is this change backward compatible or could it be a breaking change for the official HPE theme?

change

How should this PR be communicated in the release notes?

@britt6612 britt6612 requested a review from taysea May 13, 2024 22:05
@britt6612
Copy link
Collaborator Author

Screen.Recording.2024-05-13.at.4.06.39.PM.mov

@taysea taysea changed the title add color Add background-selected-subtle and background-selected-subtle-hover May 13, 2024
Copy link
Collaborator

@jcfilben jcfilben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like these colors don't meet the contrast ratio requirements

https://www.w3.org/WAI/WCAG22/Understanding/non-text-contrast.html

@taysea
Copy link
Collaborator

taysea commented May 14, 2024

It looks like these colors don't meet the contrast ratio requirements

https://www.w3.org/WAI/WCAG22/Understanding/non-text-contrast.html

@jcfilben I double checked this and they seem fine-- can you clarify where you were seeing a failure?

Screen Shot 2024-05-14 at 3 35 34 PM Screen Shot 2024-05-14 at 3 35 14 PM

@taysea taysea marked this pull request as draft May 14, 2024 22:41
@taysea
Copy link
Collaborator

taysea commented May 14, 2024

Converting to draft, I misunderstood Jessica's comment but she noted that the selected box itself does not meet color contrast with the unselected boxes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants