Skip to content

Commit

Permalink
fix(a11y): Unified search headings
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Ng <[email protected]>
Signed-off-by: nextcloud-command <[email protected]>
  • Loading branch information
Pytal authored and nextcloud-command committed Dec 14, 2023
1 parent 073b868 commit 548e76a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
8 changes: 5 additions & 3 deletions core/src/views/GlobalSearchModal.vue
Original file line number Diff line number Diff line change
@@ -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">
Expand All @@ -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"
Expand Down Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions dist/core-global-search.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-global-search.js.map

Large diffs are not rendered by default.

0 comments on commit 548e76a

Please sign in to comment.