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:
parent
e368fb1e40
commit
1f8e54b6a0
|
@ -1,3 +1,5 @@
|
||||||
|
@import "mediawiki.mixins";
|
||||||
|
|
||||||
/* Search */
|
/* Search */
|
||||||
#p-search {
|
#p-search {
|
||||||
/* @noflip */
|
/* @noflip */
|
||||||
|
@ -6,7 +8,7 @@
|
||||||
margin-left: 0.5em;
|
margin-left: 0.5em;
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
display: none;
|
.mixin-screen-reader-text;
|
||||||
}
|
}
|
||||||
|
|
||||||
form,
|
form,
|
||||||
|
|
Loading…
Reference in New Issue