Skip to content

Commit

Permalink
[docs] Add information about key combinations on a11y sections (mui#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurbalduini authored and DungTiger committed Jul 23, 2024
1 parent ad00f59 commit d79065d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
9 changes: 8 additions & 1 deletion docs/data/data-grid/accessibility/accessibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,20 @@ renderCell: (params) => (
### Navigation

:::info
The following key assignments apply to Windows and Linux users.
The key assignments in the table below apply to Windows and Linux users.

On macOS replace:

- <kbd class="key">Ctrl</kbd> with <kbd class="key">⌘ Command</kbd>
- <kbd class="key">Alt</kbd> with <kbd class="key">⌥ Option</kbd>

Some devices may lack certain keys, requiring the use of key combinations. In this case, replace:

- <kbd class="key">Page Up</kbd> with <kbd class="key">Fn</kbd>+<kbd class="key">Arrow Up</kbd>
- <kbd class="key">Page Down</kbd> with <kbd class="key">Fn</kbd>+<kbd class="key">Arrow Down</kbd>
- <kbd class="key">Home</kbd> with <kbd class="key">Fn</kbd>+<kbd class="key">Arrow Left</kbd>
- <kbd class="key">End</kbd> with <kbd class="key">Fn</kbd>+<kbd class="key">Arrow Right</kbd>

:::

| Keys | Description |
Expand Down
7 changes: 6 additions & 1 deletion docs/data/tree-view/accessibility/accessibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,15 @@ The [WAI-ARIA Authoring Practices](https://www.w3.org/WAI/ARIA/apg/patterns/tree
## Keyboard interactions

:::info
The following key assignments apply to Windows and Linux users.
The key assignments in the table below apply to Windows and Linux users.

On macOS replace <kbd class="key">Ctrl</kbd> with <kbd class="key">⌘ Command</kbd>.

Some devices may lack certain keys, requiring the use of key combinations. In this case, replace:

- <kbd class="key">Home</kbd> with <kbd class="key">Fn</kbd>+<kbd class="key">Arrow Left</kbd>
- <kbd class="key">End</kbd> with <kbd class="key">Fn</kbd>+<kbd class="key">Arrow Right</kbd>

:::

| Keys | Description |
Expand Down

0 comments on commit d79065d

Please sign in to comment.