Make `role=search` heading and label accessible

Making `role=search` heading and label accessible by using
`.mixin-screen-reader-text` instead of `display: none;`.

Bug: T139427
Change-Id: Ia54fcc2b19854315a2f0c26a1596b32019a42c1b
This commit is contained in:
Volker E 2016-07-07 14:35:17 +02:00
parent e368fb1e40
commit 1f8e54b6a0
1 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,5 @@
@import "mediawiki.mixins";
/* Search */
#p-search {
/* @noflip */
@ -6,7 +8,7 @@
margin-left: 0.5em;
h3 {
display: none;
.mixin-screen-reader-text;
}
form,