Issue metadata
Sign in to add a comment
|
Close [x] {does,doesn't} appear in focus tab order for {Mac,Other} |
||||||||||||||||||||||||||
Issue descriptionChrome Version : 61.0.3135.4 All platforms. What steps will reproduce the problem? 0. On Mac: System Prefs -> Keyboard -> Shortcuts -> Ensure "All Controls is set under "Full Keyboard Access" 1. https://permission.site/ -> padlock -> ensure everything is set to Ask. Reload. 2. Click Notifications 3. Press Tab (a few times) What is the expected result? On all platforms, the same thing. Which is either: (a) Focus switches between the two dialog buttons, or (b) Focus switches between the two dialog buttons and the close [x] What happens instead of that? - Mac does (b). Both with and without --secondary-ui-md - Everything else does (a). Note this is separate to VoiceOver navigation, which should always navigate over the close [x], as well as labels in the dialog. Plan: Do (a) on Mac as well -> https://codereview.chromium.org/2982533002 Note (b) happens on Mac with --secondary-ui-md because views::Button defaults to: Button::Button(ButtonListener* listener) : listener_(listener), tag_(-1) { SetFocusBehavior(FocusBehavior::ACCESSIBLE_ONLY); } On non-Mac, this means the button only gets a Tab Stop when the button is in an AccessiblePaneView AND focus traversal is done via F6 rather than Tab. On Mac this is what is controlled by System Prefs' "Full Keyboard Access" (Mac will never want or need AccessiblePaneView) Basically.. this bug boils down to BubbleFrameView never making a conscious choice for what the focus behaviour for its button should be. Since the dialog button close[x] is (effectively) additionally activated by ESC in DialogClientView, or is often a redundant button from some actual dialog button, then removing the close[x] from focus order on all platforms consistently seems the right choice to me. That's what https://codereview.chromium.org/2982533002 does. Note this does not affect the ability for a11y screen readers to focus and activate the close button (tested Windows Narrator and VoiceOver)
,
Jul 13 2017
,
Jul 18 2017
Tested this issue on Mac 10.12.5 , windows 7 & Ubuntu 14.04 using chrome#61.0.3159.5 as per steps mentioned in comment#0. Seems issue working as intended on Mac with mentioned steps (from 0 to 3).Focus switches between the two dialog buttons and the close [x]. On Windows 7 & Ubuntu 14.04 , As per steps from 1 to 3 - observed that focus switches between two dialog buttons but not moving to close [x]. Please find the attached screencast(Windows) for reference. tapted@Please let us know how to set step 1(comment#0) on Windows & Linux? Thanks in advance..!!
,
Jul 18 2017
Mac needs to be tested with chrome://flags/#secondary-ui-md Enabled. Then it should be consistent with Windows/Linux, which was the goal of the change in #c1.
,
Jul 18 2017
Jyothi.. Please enable the flag an verify the issue. |
|||||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||||
Comment 1 by bugdroid1@chromium.org
, Jul 13 2017