Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(451)

Unified Diff: ui/webui/resources/cr_elements/network/cr_network_list_item.html

Issue 2841873004: MD Settings: Fix subpage navigation focus for bluetooth+internet (Closed)
Patch Set: . Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/webui/resources/cr_elements/network/cr_network_list_item.html
diff --git a/ui/webui/resources/cr_elements/network/cr_network_list_item.html b/ui/webui/resources/cr_elements/network/cr_network_list_item.html
index 920d6cd90ff2b2c81389f49a2ddbb551d9bd8794..c5d2a5ea5938ca3d616bb15e169c74e85512609d 100644
--- a/ui/webui/resources/cr_elements/network/cr_network_list_item.html
+++ b/ui/webui/resources/cr_elements/network/cr_network_list_item.html
@@ -1,5 +1,6 @@
<link rel="import" href="chrome://resources/cr_elements/icons.html">
<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys/iron-a11y-keys.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classes/iron-flex-layout.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button-light.html">
<link rel="import" href="chrome://resources/cr_elements/network/cr_network_icon.html">
@@ -87,6 +88,10 @@
<template is="dom-if"
if="[[isSubpageButtonVisible_(networkState, showButtons)]]">
<div id="subpageDiv" class="layout horizontal">
+ <!-- By default space will trigger on-tap but enter will not, so
+ handle space and enter here explicitly. -->
+ <iron-a11y-keys keys="space enter" on-keys-pressed="fireShowDetails_">
dpapad 2017/04/25 21:25:19 I don't fully understand the need for this. Where
stevenjb 2017/04/25 23:32:53 OK, after way too much time investigating, I disco
dpapad 2017/04/26 00:22:38 I filed https://bugs.chromium.org/p/chromium/issue
stevenjb 2017/04/26 17:53:36 I don't think there is anything actually different
dpapad 2017/04/26 18:14:49 Compare for example the search engines iron-list (
stevenjb 2017/04/26 18:33:49 Yes, that is what I am seeing. It sounds like you
+ </iron-a11y-keys>
<button class="subpage-arrow" is="paper-icon-button-light"
on-tap="fireShowDetails_" tabindex$="[[tabindex]]"
aria-label$="[[ariaLabel]]">

Powered by Google App Engine
This is Rietveld 408576698