fix(a11y): Unified search headings

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
Christopher Ng 2023-12-07 17:43:47 -08:00 committed by nextcloud-command
parent 073b8683e6
commit 548e76a5f6
3 changed files with 8 additions and 6 deletions

View file

@ -1,7 +1,6 @@
<template>
<NcModal id="global-search"
ref="globalSearchModal"
:name="t('core', 'Unified search')"
:show.sync="internalIsVisible"
:clear-view-delay="0"
@close="closeModal">
@ -11,7 +10,9 @@
@update:is-open="showDateRangeModal = $event" />
<!-- Global search form -->
<div ref="globalSearch" class="global-search-modal">
<h1>{{ t('core', 'Unified search') }}</h1>
<h2 class="global-search-modal__heading">
{{ t('core', 'Unified search') }}
</h2>
<NcInputField ref="searchInput"
:value.sync="searchQuery"
type="text"
@ -537,10 +538,11 @@ export default {
padding: 10px 20px 10px 20px;
height: 60%;
h1 {
&__heading {
font-size: 16px;
font-weight: bolder;
line-height: 2em;
margin-bottom: 0;
}
&__filters {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long