Skip to content
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

Add accessibiltyRole to ListItemInfo component #354

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

mastro993
Copy link
Contributor

Short description

This PR introduces the accessibilityRole prop to the ListItemInfo component, enabling better support for accessibilty when displaying non-string values.

List of changes proposed in this pull request

  • Added accessibiltyRole prop to ListItemInfo component

How to test

  1. Set the accessibilityRole prop on a ListItemInfo component.
  2. Verify that screen readers correctly interpret the role specified by the prop, ensuring accessibility is enhanced as expected.

@mastro993 mastro993 requested review from dmnplb and a team as code owners November 12, 2024 14:38
@mastro993 mastro993 merged commit e602e52 into main Nov 12, 2024
6 checks passed
@mastro993 mastro993 deleted the improve-list-item-info-a11y branch November 12, 2024 15:25
mastro993 added a commit that referenced this pull request Nov 12, 2024
## Short description
This PR introduces the accessibilityRole prop to the ListItemInfo
component, enabling better support for accessibilty when displaying
non-string values.

## List of changes proposed in this pull request
- Added `accessibiltyRole` prop to `ListItemInfo` component

## How to test
1. Set the accessibilityRole prop on a ListItemInfo component.
2. Verify that screen readers correctly interpret the role specified by
the prop, ensuring accessibility is enhanced as expected.
mastro993 added a commit that referenced this pull request Nov 12, 2024
## Short description
This PR introduces the accessibilityRole prop to the ListItemInfo
component, enabling better support for accessibilty when displaying
non-string values.

## List of changes proposed in this pull request
- Added `accessibiltyRole` prop to `ListItemInfo` component

## How to test
1. Set the accessibilityRole prop on a ListItemInfo component.
2. Verify that screen readers correctly interpret the role specified by
the prop, ensuring accessibility is enhanced as expected.
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.

2 participants