I know that there has been a similar question asked here very recently, but I was wondering if it was possible to tab between buttons on default Mac OS X dialog boxes?

I already have the All controls option enabled in System PreferencesKeyboard & MouseKeyboard Shortcuts, but no joy.

  • It's not the answer to the question but I feel it's relevant. You can tab backwards through the controls and boxes using shift+tab.
    – Teifion
    Aug 5, 2008 at 14:43

8 Answers 8


If you enable Full Keyboard Access by setting it to all controls, you should be able to tab between options and select by hitting spacebar, at least for OS X 10.5:

Full Keyboard Access: All Controls (Control+F7)

  • 25
    Thanks. At least in Lion, this setting can also be switched on or off quickly using Ctrl+F7.
    – c089
    Sep 13, 2011 at 12:46
  • Not much use though is it, since the OS doesn't always focus the dialog... :/ Jan 17, 2014 at 11:00
  • El Capitan, not working anymore.
    – atilkan
    Oct 19, 2015 at 21:23
  • 5
    The Keyboard shortcut still works on El Capitan Fn+Ctr+F7 toggles it on/off. Nov 13, 2015 at 5:41
  • 2
    Thanks - took me a while to find out even when I already knew that months ago - wonder why spacebar - why not just enter key - its not intuitive and you could always switch back to the highlighted button in 1-2 strokes if you make an error. Sometimes I feel like there is some evil manager behind the guys who do this in Apple and hes pushing his stupid ideas into releases. And yep confirming it still works on El Captain for me too.
    – Srneczek
    Jun 19, 2016 at 14:58

While @ruddzw's (chosen) answer works, it can slow you down in other areas simply from the sheer number of controls there are to tab through.

@NReilingh presents a different approach, and the semantics behind it:

The right way to go about keyboard shortcuts for alternate dialog buttons is not tab, but command key combos. For example, Command-period is almost universally "cancel." [...]
It's often not documented, but the command shortcut for different buttons that aren't the default button or cancel is usually the first letter of that button.

So in the example:

Save prompt

  • enter/return will Save,
  • +. or esc will Cancel, and
  • +D will map to Don't Save.
    As @Kevin Reid points out, +delete works here as well.
  • 6
    In the new combined save/do-you-want-to-save dialog boxes, "Don't Save"'s shortcut is ⌘-Delete.
    – Kevin Reid
    Feb 9, 2013 at 23:06
  • Both ⌘+D and ⌘+delete seem to map to Don't Save. Oct 2, 2013 at 16:49
  • 1
    didn't work for me (brand new osx with latest os whatever it is), so enabled all controls, but thanks, I'd have preferred your answer if it had worked. I did test all the keys on the keyboard, with FN, CTRL, Option as well.
    – PatrickT
    Nov 29, 2013 at 11:12
  • You can also press "Tab" key to select focus on button and then press "Space" instead of "Enter" to apply the selection.
    – kholis
    Nov 29, 2017 at 8:36
  • 1
    This is good info beyond the accepted answer, still in the scope of the question asked. Apr 28, 2018 at 5:11

In Keyboard preferences under Keyboard Shortcuts

Full Keyboard Access: Switch to All Controls instead of Text Boxes and Lists Only


To enable navigation using Tabs from the command line type:

defaults write NSGlobalDomain AppleKeyboardUIMode -int 3

Is there a specific dialog you're having trouble with? With "All controls" enabled I can tab around every control of every Mac OS X dialog I've tested just now.


In macOS Catalina, do the following.

In Settings Preferences, navigate to System Preferences > Keyboard > Shortcuts. Select Keyboard in the left pane. Tick the Use Keyboard navigation and untick Change the way Tab moves focus options.

Here's the image for reference:
Keyboard Shortcuts preferences window

  • 1
    In your screenshot at the bottom there's a checkbox for Use keyboard navigation to move focus between controls. I think that's the one that changes the tab behaviour. The one you've given disables the Ctrl-F7 shortcut, which actually allows you to toggle that without going into Settings.
    – mwfearnley
    Dec 5, 2020 at 10:37
  • @mwfearnley yes what you said worked for me. Not the other setting mentioned in this answer.
    – adarshr
    Sep 17, 2021 at 9:10

When browsing with Safari, you can also tab between all HTML elements on the page using Option+Tab (otherwise Tab would only stop on the browser toolbar controls and quick bookmarks)


In macOS Monterey (12.4) this option changed a little bit and looks like this: macOS Monterey Keyboard Shortcuts

I had the option "Use keyboard navigation to move focus between controls" enabled but I wasn't able to tab between OK and Cancel in the Finder's delete dialog. I had to disable and reenable that option, so it was working again as expected.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.