Skip to content

Update status-error color to fix Form/AggregateValidation a11y violation #6690

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

Merged
merged 2 commits into from
Mar 28, 2023
Merged

Update status-error color to fix Form/AggregateValidation a11y violation #6690

merged 2 commits into from
Mar 28, 2023

Conversation

EduardoSCosta
Copy link
Contributor

What does this PR do?

Fix status-error contrast violation in Form/AggregateValidation.
fixes #6470

Where should the reviewer start?

src/js/themes/base.js.

What testing has been done on this PR?

yarn test was run before committing.

How should this be manually tested?

Check the accessibility tab in the Form/AggregateValidation storybook.

Do Jest tests follow these best practices?

  • screen is used for querying.
  • The correct query is used. (Refer to this list of queries)
  • userEvent is used in place of fireEvent.
  • asFragment() is used for snapshot testing.

Any background context you want to provide?

What are the relevant issues?

#6470

Screenshots (if appropriate)

image

Do the grommet docs need to be updated?

No.

Should this PR be mentioned in the release notes?

No.

Is this change backwards compatible or is it a breaking change?

Is backwards compatible.

Co-authored-by: Júlia Albuquerque <julia.albq@gmail.com>
@halocline halocline added needs attention To alert grommet team that a PR has been waiting for the author for a while accessibility WCAG support labels Mar 20, 2023
@jcfilben
Copy link
Collaborator

jcfilben commented Mar 27, 2023

@ericsoderberghp This change resolves the accessibility issue. Are there any concerns with this change? I'm not sure if there are any specific considerations for the grommet color palette that we need to keep in mind or if we should have a designer review this change?

@ericsoderberghp ericsoderberghp merged commit c1890c6 into grommet:master Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility WCAG support needs attention To alert grommet team that a PR has been waiting for the author for a while
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Color contrast voilence in Form/AggregateValidation.
4 participants