Skip to content

Commit

Permalink
feat(plugin-search): improve a11y support (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope authored May 24, 2021
1 parent c668fef commit 205aafe
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,15 @@ export const SearchBox = defineComponent({

return () =>
h(
'div',
'form',
{
class: 'search-box',
role: 'search',
},
[
h('input', {
ref: input,
type: 'search',
placeholder: locale.value.placeholder,
autocomplete: 'off',
spellcheck: false,
Expand Down

0 comments on commit 205aafe

Please sign in to comment.