Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Accessible file tree #12916

@felixfbecker

Description

@felixfbecker

Todo


The file tree can be navigated with the arrow keys. However, this doesn't actually focus the DOM elements, it just gives them different colors and changes application state.

This means that when using a screen reader, the current element stays on the old item and the screen reader will not announce the selected items. Hitting tab will select a different element than expected.

image

Selecting an item with enter makes the search box steal focus:

image

Additional comment:
@umpox We prefetch file data onMouseOver on the list, but we only support the same functionality for keyboard focusing in componentDidUpdate. We should be able to use onFocus here.

cc @attfarhan

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions