File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export function corner(data) {
29
29
*/
30
30
export function main ( config ) {
31
31
const aside =
32
- '<button class="sidebar-toggle">' +
32
+ '<button class="sidebar-toggle" aria-label="Menu" >' +
33
33
'<div class="sidebar-toggle-button">' +
34
34
'<span></span><span></span><span></span>' +
35
35
'</div>' +
Original file line number Diff line number Diff line change @@ -35,6 +35,12 @@ function style() {
35
35
padding: 0 7px;
36
36
line-height: 36px;
37
37
font-size: 14px;
38
+ border: 1px solid transparent;
39
+ }
40
+
41
+ .search input:focus {
42
+ box-shadow: 0 0 5px var(--theme-color, #42b983);
43
+ border: 1px solid var(--theme-color, #42b983);
38
44
}
39
45
40
46
.search input::-webkit-search-decoration,
@@ -99,7 +105,7 @@ function style() {
99
105
function tpl ( defaultValue = '' ) {
100
106
const html =
101
107
`<div class="input-wrap">
102
- <input type="search" value="${ defaultValue } " />
108
+ <input type="search" value="${ defaultValue } " aria-label="Search text" />
103
109
<div class="clear-button">
104
110
<svg width="26" height="24">
105
111
<circle cx="12" cy="12" r="11" fill="#ccc" />
You can’t perform that action at this time.
0 commit comments