Skip to content

Conversation

jcfilben
Copy link
Collaborator

@jcfilben jcfilben commented Jun 30, 2022

What does this PR do?

Changes the aria-label for checkbox to be on the input instead of the label element. This should fix an issue where nvda was not reading the aria-label for the checkbox.

Where should the reviewer start?

What testing has been done on this PR?

Tested with voice over on mac and NVDA on windows

How should this be manually tested?

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?

Closes #6204

Screenshots (if appropriate)

Do the grommet docs need to be updated?

No

Should this PR be mentioned in the release notes?

Maybe

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

Backwards compatible

@jcfilben jcfilben marked this pull request as draft June 30, 2022 17:42
@jcfilben jcfilben marked this pull request as ready for review June 30, 2022 17:58
@ericsoderberghp ericsoderberghp merged commit 88810dd into grommet:master Jun 30, 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.

a11y feature request: DataTable select aria label
2 participants