Keyboard shortcut to select "Revert changes" button in "Save" dialog window

I have “System Settings > Desktop & Dock > Ask to keep changes when closing documents = Off”, then I have opened an existing text file using TextEdit, made some changes, and pressed Command-W. A dialog window appears:

Do you want to save the changes made to the document "abc.txt"?

             [Save]
        [Revert changes]
            [Cancel]

Is there a keyboard shortcut to press the “Revert changes” button without using mouse or trackpad?

1 Like

CMD+D works for me on Sonoma, although I found someone saying it didn’t work for them, so your mileage may vary.

If it doesn’t work, you could turn on Full Keyboard Access: for me the Revert Changes button ends up focused with that, so I can just hit the spacebar to revert.

1 Like

Works for me on Sonoma 14.6.1 with US keyboard layout, thanks.