mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-24 11:15:05 +08:00
cf5d51e7b8
- Set proper semantic tags for main parts of content. - Removed focus-trap from tag manager/autosuggest. - Set better accessibility labelling on tag manager. - Updated collapsible sections to be keyboard navigatable. - Improved input focus styling to better fit theme. - Updated custom styled file picker to be accessible via keyboard. Related to #1320
8 lines
626 B
PHP
8 lines
626 B
PHP
<div class="mb-xl">
|
|
<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"
|
|
type="button" aria-label="{{ trans('common.search_clear') }}">@icon('close')</button>
|
|
</form>
|
|
</div> |