You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refocus table of contents overlay trigger on close
When using the dialog with a keyboard, focus is
not set when you close it so the browser has to
guess what to focus. This is usually on the
document itself or the main content area, both of
which are confusing to users.
This focuses the button that opens the dialog when
it closes, as per WAI ARIA advice from the W3C:
https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/
0 commit comments