iankelling.org
/
git
/
mediawiki-sidebar-patch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e368fb1
)
Make `role=search` heading and label accessible
author
Volker E
<volker.e@wikimedia.org>
Thu, 7 Jul 2016 12:35:17 +0000
(14:35 +0200)
committer
Volker E
<volker.e@wikimedia.org>
Thu, 7 Jul 2016 12:35:17 +0000
(14:35 +0200)
Making `role=search` heading and label accessible by using
`.mixin-screen-reader-text` instead of `display: none;`.
Bug: T139427
Change-Id: Ia54fcc2b19854315a2f0c26a1596b32019a42c1b
components/search.less
patch
|
blob
|
history
diff --git
a/components/search.less
b/components/search.less
index 75a0796c1cb470c98860edda9a74a0a786272e35..320a389c0a3dbedae982ed9260aa909c25e8d7c6 100644
(file)
--- a/
components/search.less
+++ b/
components/search.less
@@
-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,