Skip to content

Commit 83f9b01

Browse files
committed
Form elements must have labels
1 parent 8454889 commit 83f9b01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/search/component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ function style() {
9999
function tpl(defaultValue = '') {
100100
const html =
101101
`<div class="input-wrap">
102-
<input type="search" value="${defaultValue}" />
102+
<input type="search" value="${defaultValue}" aria-label="Search text" />
103103
<div class="clear-button">
104104
<svg width="26" height="24">
105105
<circle cx="12" cy="12" r="11" fill="#ccc" />

0 commit comments

Comments
 (0)