]> BookStack Code Mirror - bookstack/blobdiff - resources/views/partials/entity-dashboard-search-box.blade.php
Made another mass of accessibility improvements
[bookstack] / resources / views / partials / entity-dashboard-search-box.blade.php
index f46c9a8f1327f6ef0487bf8f344318e900099c14..2e0395253b7680e5b21166228c59e8389118d4ce 100644 (file)
@@ -1,5 +1,5 @@
 <div class="mb-xl">
-    <form v-on:submit.prevent="searchBook" class="search-box flexible">
+    <form v-on:submit.prevent="searchBook" class="search-box flexible" role="search">
         <input v-model="searchTerm" v-on:change="checkSearchForm" type="text" aria-label="{{ trans('entities.books_search_this') }}" name="term" placeholder="{{ trans('entities.books_search_this') }}">
         <button type="submit" aria-label="{{ trans('common.search') }}">@icon('search')</button>
         <button v-if="searching" v-cloak class="search-box-cancel text-neg" v-on:click="clearSearch"