[ReaderMode] Move settings close button to end of DOM order
Previously, the close button was the first thing to receive focus. WAI-ARIA dictates that for a modal dialog, focus should move to the first focusable control in the dialog, in this case the font selector. The user can still close at any time by using the Esc key. Note that this causes no visual changes; it only changes focus order. Bug: 1015200 Change-Id: Ieee530095dc90a7befc30761ddcb45e8935a8121 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2114771 Commit-Queue: Meredith Lane <meredithl@chromium.org> Reviewed-by:Wei-Yin Chen (陳威尹) <wychen@chromium.org> Cr-Commit-Position: refs/heads/master@{#752696}
Showing
Please register or sign in to comment