Skip to content

Conversation

KostasTheodoro
Copy link
Contributor

What does this PR do?

Fixes Storybook Accessibility issues in Infinitescroll component

Where should the reviewer start?

Infinitescroll/stories

What testing has been done on this PR?

Manual testing to see that the accessibility issues are gone

How should this be manually tested?

Check the accessibility tab in Infinitescroll/grid and infinitescroll/grid with show item 77, in 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?

#6124

Screenshots (if appropriate)

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?

KostasTheodoro and others added 2 commits October 13, 2022 22:01
Co-authored-by: Jessica Filben <54560994+jcfilben@users.noreply.github.com>
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 228607c into grommet:master Oct 17, 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