Skip to content

Commit

Permalink
Adds complementary info about macOS key replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Balduini authored and Arthur Balduini committed May 23, 2024
1 parent ac189d7 commit f3790e5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
14 changes: 10 additions & 4 deletions docs/data/data-grid/accessibility/accessibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,17 +106,23 @@ renderCell: (params) => (

### Navigation

:::info
The following key assignments apply to Windows and Linux users.

On macOS:
On macOS replace:

- replace <kbd class="key">Ctrl</kbd> with <kbd class="key">⌘ Command</kbd>
- replace <kbd class="key">Alt</kbd> with <kbd class="key">⌥ Option</kbd>
- <kbd class="key">Ctrl</kbd> with <kbd class="key">⌘ Command</kbd>
- <kbd class="key">Alt</kbd> with <kbd class="key">⌥ Option</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>
- <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>
:::

| Keys | Description |
| -----------------------------------------------------------------: | :---------------------------------------------------------- |
| <kbd class="key">Arrow Left</kbd> | Navigate between cell elements |
| <kbd class="key">Arrow Bottom</kbd> | Navigate between cell elements |
| <kbd class="key">Arrow Down</kbd> | Navigate between cell elements |
| <kbd class="key">Arrow Right</kbd> | Navigate between cell elements |
| <kbd class="key">Arrow Up</kbd> | Navigate between cell elements |
| <kbd class="key">Home</kbd> | Navigate to the first cell of the current row |
Expand Down
6 changes: 4 additions & 2 deletions docs/data/tree-view/accessibility/accessibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ The [WAI-ARIA Authoring Practices](https://www.w3.org/WAI/ARIA/apg/patterns/tree
:::info
The following key assignments apply to Windows and Linux users.

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

On macOS replace:
- <kbd class="key">Ctrl</kbd> with <kbd class="key">⌘ Command</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

0 comments on commit f3790e5

Please sign in to comment.