Add tabindex to search result links
This makes the links appear in the relatedElement-field of the focusout event
This commit is contained in:
parent
d947334cfc
commit
1c820c9db0
2 changed files with 8 additions and 7 deletions
|
@ -8,13 +8,7 @@
|
||||||
<link href="_assets/style-{{style_css_checksum()}}.css" rel="stylesheet">
|
<link href="_assets/style-{{style_css_checksum()}}.css" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<form class="search keyboard-focus-control" action=_search method=GET>
|
{{>search_input.html}}
|
||||||
<input data-focusindex="0" type=search name=q placeholder=search autocomplete=off>
|
|
||||||
<ul class="live-results search-results">
|
|
||||||
</ul>
|
|
||||||
</form>
|
|
||||||
<ul id="search-result-prototype" class="prototype"><li class="search-result"><a class="link" href=""><span class="title"></span> – <span class="snippet"></span></a></li></ul>
|
|
||||||
<script src="_assets/search-{{search_js_checksum()}}.js" defer></script>
|
|
||||||
{{{body}}}
|
{{{body}}}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
7
templates/search_input.html
Normal file
7
templates/search_input.html
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<form class="search keyboard-focus-control" action=_search method=GET>
|
||||||
|
<input data-focusindex="0" type=search name=q placeholder=search autocomplete=off>
|
||||||
|
<ul class="live-results search-results">
|
||||||
|
</ul>
|
||||||
|
</form>
|
||||||
|
<ul id="search-result-prototype" class="prototype"><li class="search-result"><a tabindex="0" class="link" href=""><span class="title"></span> – <span class="snippet"></span></a></li></ul>
|
||||||
|
<script src="_assets/search-{{search_js_checksum()}}.js" defer></script>
|
Loading…
Reference in a new issue