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

Unified Diff: ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html

Issue 2025583002: MD WebUI: Improve tab focus behavior for toolbar search field (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweak comment Created 4 years, 7 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/cr_toolbar/cr_toolbar_search_field.html
diff --git a/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html b/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html
index c65855b1606af50a58edd2b9a740487ace383314..d64c02609bf2bec3a2c714a5e966973258c85fab 100644
--- a/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html
+++ b/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html
@@ -82,11 +82,12 @@
-webkit-margin-start: 18px;
}
</style>
- <paper-icon-button id="icon" icon="cr:search"
- title="[[label]]">
+ <paper-icon-button id="icon" icon="cr:search" title="[[label]]"
+ tabindex$="[[computeIconTabIndex_(narrow)]]">
</paper-icon-button>
- <paper-input-container on-search="onSearchTermSearch_"
- on-keydown="onSearchTermKeydown_" no-label-float>
+ <paper-input-container on-search="onSearchTermSearch"
+ on-keydown="onSearchTermKeydown" on-keypress="onSearchTermKeypress_"
+ no-label-float>
<label id="prompt" for="searchInput">[[label]]</label>
<input is="iron-input" id="searchInput" type="search"
on-blur="onInputBlur_" incremental></input>

Powered by Google App Engine
This is Rietveld 408576698