Skip to content

Commit

Permalink
[docs] Fix dot consistency a11y table
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Jul 20, 2024
1 parent 3f60add commit ccb11d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/data/tree-view/accessibility/accessibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ Some devices may lack certain keys, requiring the use of key combinations. In th
| Keys | Description |
| --------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <kbd class="key">Enter</kbd> | Activates the focused item. <ul><li>If item has children, it is expanded or collapsed</li><li>If the item does not have children, it is selected</li></ul> |
| <kbd class="key">Arrow Up</kbd> | Moves focus to the previous focusable item, without expanding or collapsing it. |
| <kbd class="key">Arrow Down</kbd> | Moves focus to the next focusable item, without expanding or collapsing it. |
| <kbd class="key">Arrow Up</kbd> | Moves focus to the previous focusable item, without expanding or collapsing it |
| <kbd class="key">Arrow Down</kbd> | Moves focus to the next focusable item, without expanding or collapsing it |
| <kbd class="key">Arrow Right</kbd> + RTL off </br> <kbd class="key">Arrow Left</kbd> + RTL on | <ul><li>If focus is on a collapsed item, expands the item without moving focus</li><li>If focus is on an expanded item, moves focus to the first child</li><li>If focus is on an end item, nothing happens</li></ul> |
| <kbd class="key">Arrow Left</kbd> + RTL off </br> <kbd class="key">Arrow Right</kbd> RTL on | <ul><li>If focus is on an expanded item, collapses the item</li><li>If focus is on a collapsed item that has a parent, moves focus to its parent</li><li>If focus is on a root item, nothing happens</li></ul> |
| <kbd class="key">Home</kbd> | Focuses the first item in the tree |
| <kbd class="key">End</kbd> | Focuses the last item in the tree |
| <kbd class="key">\*</kbd> | Expands all siblings that are at the same level as the focused item without moving focus. |
| <kbd class="key">\*</kbd> | Expands all siblings that are at the same level as the focused item without moving focus |

Type-ahead is supported for single characters. When typing a character, focus moves to the next item with a label that starts with the typed character.

Expand Down

0 comments on commit ccb11d4

Please sign in to comment.