mediawiki-skins-Vector/resources/skins.vector.styles.legacy/components/SearchBox.less
bwang 687c6a50d8 Improve heading structure and heading semantics by removing redundant headings and labels for modern Vector
- Apply aria-hidden to h3 in Menu template, ensuring the nav landmarks are still properly labeled, but no longer reading duplicate labels to screenreaders
- Remove "Navigation menu" h2 element, which is not needed as the nav landmarks are already labeled
- Remove searchbox h3 element, which is redundant with the search landmark
- Scope all changes to modern vector

Bug: T265993
Change-Id: I4e5da7a0699160fa57234bd126b75243e0157778
2021-09-14 10:47:05 -05:00

7 lines
100 B
Plaintext

@import 'mediawiki.mixins.less';
// Search portlet.
#p-search h3 {
.mixin-screen-reader-text();
}