Skip to content

How to maintain keyboard navigability of data points when voiceover is enabled? #4662

Answered by julianna-langston
wesngu28 asked this question in Q&A
Discussion options

You must be logged in to vote

Well, I've got some good news and some bad news.

The good news is I can tell you how to make it work. While running VoiceOver, you need to turn QuickNav off (press the left and right arrow at the same time). If the user is running VoiceOver, turns off Quick Nav, focuses on the chart, and then press the left or right arrow keys, the tooltip will move as expected. VoiceOver will also read out the contents of the tooltip.

The bad news is that the user has to know to turn QuickNav off.

Technical background
In order to support keyboard navigation, Recharts adds a keydown event listener to the chart. If you're not running a screen reader, you can tab to the chart, and press left/right arrow key…

Replies: 6 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@wesngu28
Comment options

@ckifer
Comment options

@ckifer
Comment options

Comment options

You must be logged in to vote
1 reply
@wesngu28
Comment options

Answer selected by wesngu28
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ckifer
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants