File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 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) {
2929 */
3030export function main ( config ) {
3131 const aside =
32- '<button class="sidebar-toggle">' +
32+ '<button class="sidebar-toggle" aria-label="Menu" >' +
3333 '<div class="sidebar-toggle-button">' +
3434 '<span></span><span></span><span></span>' +
3535 '</div>' +
Original file line number Diff line number Diff line change @@ -35,6 +35,12 @@ function style() {
3535 padding: 0 7px;
3636 line-height: 36px;
3737 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);
3844}
3945
4046.search input::-webkit-search-decoration,
@@ -99,7 +105,7 @@ function style() {
99105function tpl ( defaultValue = '' ) {
100106 const html =
101107 `<div class="input-wrap">
102- <input type="search" value="${ defaultValue } " />
108+ <input type="search" value="${ defaultValue } " aria-label="Search text" />
103109 <div class="clear-button">
104110 <svg width="26" height="24">
105111 <circle cx="12" cy="12" r="11" fill="#ccc" />
You can’t perform that action at this time.
0 commit comments