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

feat: Add some accessibility updates to BarChart component #444

Merged
merged 6 commits into from
Jul 24, 2024
Merged

Conversation

annaPerdomo
Copy link
Collaborator

Recharts has recently published an update that allows keyboard accessibility for certain charts. This PR adds that prop to the BarChart component and also exposes an optional title and description prop that screen readers can access.

Even though the accessibilityLayer prop has been added to the chart it's unfortunately not yet fully keyboard accessible. After this PR is merged I will create an issue with recharts to see why it's not working as described in their documentation. They have quite a few open accessibility issues so I'm hopeful that this could be fixed in future recharts versions.

@annaPerdomo annaPerdomo merged commit 3264a20 into main Jul 24, 2024
1 check passed
@annaPerdomo annaPerdomo deleted the ic-2729 branch July 24, 2024 14:02
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