UX: unconditionally focus modals (PR #13179)

Previously auto focus would only work on modals that include buttons or inputs.

To avoid a situation where information modals such as keyboard shortcuts do not get focus, simply focus on the close button as a fallback.

GitHub

Why not add to the selector above? it’s already doing multiple things in one line.

1 Like

This was a priority thing, I wanted the to be a fallback, the close button is in the header