Skip to content

Commit

Permalink
Merge pull request #42111 from nextcloud/fix/a11y/unified-search-head…
Browse files Browse the repository at this point in the history
…ings

fix(a11y): Unified search headings
  • Loading branch information
Pytal authored Dec 9, 2023
2 parents 2606424 + 70b53c3 commit 9964bcb
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"
:title="t('Unified search')"
Expand All @@ -12,7 +11,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 @@ -538,10 +539,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 9964bcb

Please sign in to comment.