Skip to content

Conversation

uldz
Copy link
Contributor

@uldz uldz commented Oct 1, 2022

What does this PR do?

Adding aria-labels into Nav components to fix a11y violation in Labels story

Where should the reviewer start?

Check Sidebar/Labels story in Storybook

What testing has been done on this PR?

yarn test + Storybook manual testing

How should this be manually tested?

Through Storybook

Do Jest tests follow these best practices?

Changes don't affect tests

  • 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?

#6124

Screenshots (if appropriate)

Screenshot 2022-10-01 at 19 44 50

Do the grommet docs need to be updated?

Should this PR be mentioned in the release notes?

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

No

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.

Looks good!

@ericsoderberghp ericsoderberghp merged commit 649c67a into grommet:master Oct 3, 2022
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