Skip to content

DOM order should follow keyboardNavigation.order #15876

Closed
@oysteinmoseng

Description

@oysteinmoseng

Expected behaviour

Specific use case: If the legend is placed above the chart, setting keyboardNavigation.order will allow tab navigation order to change, but the DOM order should change as well. This impacts screen reader users navigating by virtual cursor.

Actual behaviour

The DOM order of proxy elements is fixed.

Live demo with steps to reproduce

https://jsfiddle.net/oysteinmoseng/nyv6as9f/
Navigating with virtual cursor, the order is data points first, then legend, then menu, while the Tab order is opposite.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions