Issue metadata
Sign in to add a comment
|
Polymer buttons cannot be pressed with Alt-Space on Mac
Reported by
vku...@etouch.net,
Apr 12 2017
|
||||||||||||||||||||||
Issue descriptionChrome Version:58.0.3029.68 (Official Build)Revision 045e9746301b648a9456f493e68e863059107f88-refs/branch-heads/3029@{#673} (64-bit) OS:Mac OS X(10.11.6,10.12.1),Linux (14.04 LTS), What steps will reproduce the problem? (1)Launch chrome open 2-3 webpages and navigate to chrome://history (2)Press tab key till focus reached visited url,hit spacebar key to select checkbox. (3)Hit shift+tab till focus reaches cancel button,now press spacebar key + Alt and observe. (4)Click on 'X' close button and again select checkbox,observe Actual: Focus remains on cancel button after hitting Spacebar+Alt key from keyboard in chrome://history Expected: Focus should not be seen on cancel button after hitting Spacebar+Alt key from keyboard in chrome://history This is a regression issue broken in 'M51' and below is the manual regression range Good Build: 51.0.2693.2 Bad Build: 51.0.2695.0 Note: Issue not seen on Win OS.
,
Apr 12 2017
This wouldn't be my patch (which was updating a blink test). Over to tsergeant@ for history triage.
,
Apr 13 2017
Aha, this is a pretty silly bug, but it's hard to trigger, has a minor affect, and is Mac only. The gist of it is that on Mac, pressing Alt-Spacebar emits a non-breaking space character instead of a regular space character. The browser emits a KeyboardEvent with e.key set to '\u00A0', and e.code set to 'space'. iron-a11y-keys-behavior prefers to match against e.key, and therefore doesn't pick up Alt-Spacebar as a valid press of spacebar (https://github.com/PolymerElements/iron-a11y-keys-behavior/blob/master/iron-a11y-keys-behavior.html#L106). This affects basically every clickable thing across MD WebUI: They can't be pressed with Alt-Space on Mac, but can be pressed that way on ChromeOS/Linux (and presumably Windows, but I haven't checked). I'm inclined to mark this as WontFix, but +dbeam in case MD Settings wants to fix this (in iron-a11y-keys)
,
Apr 13 2017
I should also mention that the 'stuck' ripple is the same problem, but it happens when you time your keypresses right so that the keydown is a valid space press, but your keyup is not.
,
Sep 8 2017
As above, I think this is WontFix from Chrome's perspective. If we wanted to fix it, it would need to be changed in iron-a11y-keys. But from their perspective, this could almost be WAI, since technically, you're not pressing 'space' when you press Alt-Space on a Mac. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by vku...@etouch.net
, Apr 12 2017Owner: rdevlin....@chromium.org
Status: Assigned (was: Unconfirmed)