From d9a002574c6199c65250e0a4ae8f8609fad18289 Mon Sep 17 00:00:00 2001 From: bwang Date: Fri, 17 Sep 2021 09:58:26 -0500 Subject: [PATCH] Fix navigation menu h2 from showing in legacy Vector Restores code removed in 50d866dc Bug: T291264 Change-Id: Ibcdcd0a2dc31a0cdcfa570901765207dc729af6e --- resources/skins.vector.styles.legacy/layouts/screen.less | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/resources/skins.vector.styles.legacy/layouts/screen.less b/resources/skins.vector.styles.legacy/layouts/screen.less index 2998545..18a8a0b 100644 --- a/resources/skins.vector.styles.legacy/layouts/screen.less +++ b/resources/skins.vector.styles.legacy/layouts/screen.less @@ -81,6 +81,12 @@ body { height: 5em; } +/* Hide, but keep accessible for screen-readers */ +#mw-navigation h2 { + position: absolute; + top: -9999px; +} + #mw-head { position: absolute; top: 0;