Improve the accessibility of our jump-to functionality
authorDaniel Friesen <dantman@users.mediawiki.org>
Sun, 25 Sep 2011 00:49:39 +0000 (00:49 +0000)
committerDaniel Friesen <dantman@users.mediawiki.org>
Sun, 25 Sep 2011 00:49:39 +0000 (00:49 +0000)
commitdb1a37382c6331c4f5d68169f0255d4de04e6fc8
tree5f8b8ca411bd71cccb173355e5ec39221754fd9b
parentabecb243bedf49aa10277d1630de1b6daef70e6b
Improve the accessibility of our jump-to functionality
- Stop hiding with display: none;, this hides our jump links from modern screen readers and users with motor disabilities (ie: nowadays, pratically everyone they are intended to help).
- Instead hide with an overflow that will make the links viable <tab> targets. This alone is enough to help screen reader users.
- Add in a script that will show the jump-links area on-focus for motor-impared users who can still see who have js enabled (this can't be done with css unfortunately)
resources/Resources.php
resources/jquery/jquery.mw-jump.js [new file with mode: 0644]
skins/MonoBook.php
skins/Vector.php
skins/common/commonInterface.css
skins/common/commonPrint.css
skins/common/shared.css