mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-12 05:23:40 +08:00
b27a5c7fb8
- Changed default focus styles - Updated dropdowns with keyboard navigation - Updated modals with esc exiting - Added accessibility attirbutes where needed - Made many more elements focusable - Updated hover effects of many items to also apply when focused within Related to #1320 and #1198
8 lines
612 B
PHP
8 lines
612 B
PHP
<div class="mb-xl">
|
|
<form v-on:submit.prevent="searchBook" class="search-box flexible">
|
|
<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"
|
|
type="button" aria-label="{{ trans('common.search_clear') }}">@icon('close')</button>
|
|
</form>
|
|
</div> |