A11y: makes advanced search and html heading (#11808)

This commit is contained in:
Joffrey JAFFEUX 2021-01-22 14:35:17 +01:00 committed by GitHub
parent e81d93cf26
commit 7521cb51c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -203,9 +203,9 @@
<span>{{i18n "search.advanced.title"}}</span> <span>{{i18n "search.advanced.title"}}</span>
</div> </div>
{{else}} {{else}}
<span class="search-advanced-title"> <h1 class="search-advanced-title">
{{i18n "search.advanced.title"}} {{i18n "search.advanced.title"}}
</span> </h1>
{{/if}} {{/if}}
{{#if site.mobileView}} {{#if site.mobileView}}

View File

@ -128,6 +128,7 @@
} }
.search-advanced-title { .search-advanced-title {
font-size: $font-up-1;
background: var(--primary-low); background: var(--primary-low);
padding: 0.358em 1em; padding: 0.358em 1em;
@include breakpoint(medium) { @include breakpoint(medium) {