<p dir="auto">Reproduce:</p>
<ul dir="auto">
<li>open a file</li>
<li>edit a file</li>
<li>close tab (<kbd>Ctrl-F4</kbd> on Windows)</li>
<li>press <kbd>N</kbd></li>
</ul>
<p dir="auto">The "Save / Cancel / Don't save" dialog should respond to key-presses of <kbd>Y</kbd> and <kbd>N</kbd> since it's conceptially posing for a Yes/No/Cancel dialog. Perhaps <kbd>S</kbd> and <kbd>D</kbd> if you disagree, but if there's no way to control this dialog with the keyboard, that's bad.</p>
<p dir="auto">(To be pedantic: Windows introduced a few version ago that by pressing <kbd>Alt</kbd> the letters that respond to <kbd>Alt</kbd>-combinations show underlined. It may be a flavour, but one one grows accustomed to.)</p>
<p dir="auto">(this is possibly windows only, tested with 0.113.0)</p>
<p dir="auto"><strong>Steps To Reproduce</strong></p>
<ul dir="auto">
<li>Open Atom</li>
<li>Type something into a new editor or change an existing file (doesn't matter which)</li>
<li>Attempt to close the tab (for example <code class="notranslate">Ctrl+W</code>)</li>
<li>Correctly, a dialogue opens, that will give you a choice how to proceed</li>
</ul>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/124909/3550749/38cadc72-08dd-11e4-8d71-83e665a150cd.png"><img src="https://cloud.githubusercontent.com/assets/124909/3550749/38cadc72-08dd-11e4-8d71-83e665a150cd.png" alt="close-dialog-keyboard-lacking" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>current (faulty) behaviour</strong></p>
<p dir="auto">The Keyboard is pretty much useless for this dialogue. You can only Hit <code class="notranslate">[Enter]</code> to save.</p>
<p dir="auto"><strong>Desired Behaviour</strong></p>
<p dir="auto">These interactions all don't work, but would be very much needed, all of these are very much standard behaviour for any application:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <code class="notranslate">[left]</code> and <code class="notranslate">[right]</code> should switch focus between buttos (so we can select a different thing with keyboard only)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <code class="notranslate">[esc]</code> should Cancel</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <code class="notranslate">[alt]</code> should bring up shortcut labels (much like it does for the application menu, i.e. _F_ile, which means press <code class="notranslate">[Alt+F]</code>)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <code class="notranslate">[tab]</code> should cycle between the buttons, <code class="notranslate">[shift-tab]</code> should cycle backwards.</li>
</ul>