-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add "Keyboard navigation" system preference
- Loading branch information
1 parent
ae7b6b9
commit 45a44c6
Showing
4 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
--- | ||
title: Keyboard navigation | Keyboard | ||
description: Choose whether to enable moving focus with Tab and Shift Tab. | ||
head: | ||
- - meta | ||
- property: 'og:title' | ||
content: macOS defaults > Keyboard navigation | ||
- - meta | ||
- property: 'og:description' | ||
content: Choose whether to enable moving focus with Tab and Shift Tab. | ||
--- | ||
|
||
# Keyboard navigation | ||
|
||
Choose whether to enable moving focus with Tab and Shift Tab. | ||
|
||
- **Tested on macOS**: | ||
- Sonoma | ||
- Sequoia | ||
- **Parameter type**: int | ||
- 0 | ||
- 2 | ||
|
||
## Set to: Disabled (default) | ||
|
||
```bash | ||
defaults write NSGlobalDomain AppleKeyboardUIMode -int "0" | ||
``` | ||
|
||
<img | ||
src="./images/AppleKeyboardUIMode/disabled.png" | ||
alt="Save changes dialog with keyboard navigation disabled" | ||
width="574" height="674" style="height: auto" | ||
/> | ||
|
||
## Set to: Enabled | ||
|
||
```bash | ||
defaults write NSGlobalDomain AppleKeyboardUIMode -int "2" | ||
``` | ||
|
||
<img | ||
src="./images/AppleKeyboardUIMode/enabled.png" | ||
alt="Save changes dialog with keyboard navigation enabled, showing focus ring on Don't Save" | ||
width="574" height="674" style="height: auto" | ||
/> | ||
|
||
## Read current value | ||
|
||
```bash | ||
defaults read NSGlobalDomain AppleKeyboardUIMode | ||
``` | ||
|
||
## Reset to default value | ||
|
||
```bash | ||
defaults delete NSGlobalDomain AppleKeyboardUIMode | ||
``` | ||
|
||
## Set value from UI | ||
|
||
1. <a href="x-apple.systempreferences:com.apple.preference.keyboard">Open the Keyboard preference pane in System Preferences</a> | ||
2. Toggle "Keyboard navigation" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.