DescriptionAuto-focus the first button in the App Info dialog
To make the dialog more accessible, auto-focus the first button in the
dialog when it opens so focus is already on an element inside the
dialog. This behaviour is more consistent with existing dialogs in
Chrome, and helps users using screen-readers and similar with navigating
the dialog after it opens.
BUG=425311
Committed: https://crrev.com/1870b34b26ad58d36845e8932959f06350e1543c
Cr-Commit-Position: refs/heads/master@{#302415}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Separated out focus actions into both the specific Pin/Unpin buttons and the generic dialog focus #Patch Set 3 : Added some TODOs and override for GetInitiallyFocusedView in NativeDialogView #
Total comments: 2
Patch Set 4 : Removed TODOs #Patch Set 5 : Removed new override to GetInitiallyFocusedView #
Total comments: 2
Patch Set 6 : Made the initially focused view return NULL #
Messages
Total messages: 15 (2 generated)
|