File tree Expand file tree Collapse file tree 3 files changed +3
-59
lines changed
lib/ex_doc/formatter/html/templates Expand file tree Collapse file tree 3 files changed +3
-59
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ function addEventListeners () {
80
80
} else if ( event . key === 'ArrowDown' || ( appleOS && event . ctrlKey && event . key === 'n' ) ) {
81
81
moveAutocompleteSelection ( 1 )
82
82
event . preventDefault ( )
83
- } else if ( event . key === 'Tab' ) {
83
+ } else if ( event . key === 'Tab' && selectedAutocompleteSuggestion ( ) !== null ) {
84
84
togglePreview ( )
85
85
event . preventDefault ( )
86
86
}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 75
75
<span class="sr-only">Search documentation of <%= config.project %></span>
76
76
<input name="q" type="text" class="search-input" placeholder="Press / to search" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" />
77
77
</label>
78
- <button type="submit" class="search-button" aria-label="Submit Search">
79
- <i class="ri-search-2-line ri-lg" aria-hidden="true" title="Submit search" ></i>
78
+ <button type="submit" class="search-button" aria-label="Submit Search" tabindex="-1" >
79
+ <i class="ri-search-2-line ri-lg" aria-hidden="true"></i>
80
80
</button>
81
81
<button type="button" tabindex="-1" class="search-close-button" aria-hidden="true">
82
82
<i class="ri-close-line ri-lg" title="Cancel search"></i>
You can’t perform that action at this time.
0 commit comments