MacOS – Keyboard shortcut for buttons in dialogue box

keyboardmacos

Given the following options at the bottom of a dialogue box:

Dialogue box with two options with default option selected

If I press Enter (return) key, it will select Cancel, the default selected button. What's the keyboard shortcut to select Delete option instead?

Best Answer

There is no set keyboard shortcut for the Delete button in this case. If you have enabled full-keyboard access in System Preferences → Keyboard → Shortcuts, you can use the Tab key to move focus to the Delete button, and press Space or Enter key to invoke the Delete command.

enter image description here

Using the Tab key, you can move the focus to the Delete button.