From 6a828328e17c64a026b447357a619a00f0356425 Mon Sep 17 00:00:00 2001 From: ColCh Date: Wed, 22 Jun 2016 12:25:30 -0700 Subject: [PATCH] Add tabindex attribute to searchbar Summary: Explain the **motivation** for making this change. What existing problem does the pull request solve? This is small improvement to docs webpage. I'm tired of clicking on searchbar with mouse/touchpad, so I've added a `tabindex` attribute to it, so it can be now focused with `Tab` key. I think this greatly improves user experience on documentation searching. **Test plan (required)** ??? Just click on `Tab` and it will focus. Should I test it really? **Code formatting** Attributes are sorted alphabetically, I've inserted new attribute in this order, after `id` and before `type` attributes. Closes https://github.com/facebook/react-native/pull/8319 Differential Revision: D3470858 fbshipit-source-id: 01240bdf1432d9873324ddee38be256dfab93df2 --- website/core/AlgoliaDocSearch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/core/AlgoliaDocSearch.js b/website/core/AlgoliaDocSearch.js index b65e7e303..16b60fd70 100644 --- a/website/core/AlgoliaDocSearch.js +++ b/website/core/AlgoliaDocSearch.js @@ -13,7 +13,7 @@ var AlgoliaDocSearch = React.createClass({ render: function() { return (
- +
); }