Skip to content

List - Fixed accessibility violations with onOrder #7433

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
Nov 15, 2024

Conversation

jcfilben
Copy link
Collaborator

@jcfilben jcfilben commented Nov 15, 2024

What does this PR do?

Resolves the following accessibility issues with the List onOrder prop

image

Where should the reviewer start?

What testing has been done on this PR?

Tested with existing List onOrder story and tested with voiceover

How should this be manually tested?

Check the accessibility tab on the List/onOrder 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?

Closes #7425

Screenshots (if appropriate)

Do the grommet docs need to be updated?

no

Should this PR be mentioned in the release notes?

yes

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

backwards compatible

@jcfilben jcfilben requested a review from britt6612 November 15, 2024 16:56
Copy link
Collaborator

@MikeKingdom MikeKingdom left a comment

Choose a reason for hiding this comment

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

Subtle difference between list and listbox.
LGTM

@jcfilben jcfilben merged commit cd72772 into grommet:master Nov 15, 2024
14 checks passed
@jcfilben jcfilben deleted the list-onOrder-accessibility branch November 15, 2024 22:13
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.

List - onOrder has accessibility issues with aria roles and <li> not being contained by <ul> or <ol>
3 participants