Skip to content

Conversation

ldoliv
Copy link
Contributor

@ldoliv ldoliv commented Aug 14, 2024

What does this PR do?

Fixes the accessibility violation "Ensure landmarks are unique" that can be seen in the storybook accessibility tab.

Where should the reviewer start?

Any story under the Accordion component

What testing has been done on this PR?

Was run before commiting:
yarn test-update
yarn test

How should this be manually tested?

Check the accessibility tab for any Accordion component story

Do Jest tests follow these best practices?

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

Any background context you want to provide?

What are the relevant issues?

#6124

Screenshots (if appropriate)

Before:
issue

After:
resolved

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?

@britt6612 britt6612 added the waiting Awaiting response to latest comments label Aug 28, 2024
Signed-off-by: Leonel Oliveira <6535818+ldoliv@users.noreply.github.com>
@ldoliv ldoliv force-pushed the fix/accordion-accessibility-violations branch from 7e05cf3 to 6d21b7a Compare August 28, 2024 15:15
Signed-off-by: Leonel Oliveira <6535818+ldoliv@users.noreply.github.com>
@ldoliv
Copy link
Contributor Author

ldoliv commented Aug 28, 2024

Updated the branch

@britt6612 britt6612 removed the waiting Awaiting response to latest comments label Aug 29, 2024
Copy link
Collaborator

@britt6612 britt6612 left a comment

Choose a reason for hiding this comment

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

LGTM

@britt6612 britt6612 requested a review from jcfilben August 29, 2024 14:57
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!

@jcfilben jcfilben merged commit c19c313 into grommet:master Aug 29, 2024
14 checks passed
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