Accessibility: fix the Skip to content link, show it on :focus, improve the styling of the skip links when shown, see #21310, see #21471

git-svn-id: https://develop.svn.wordpress.org/trunk@21435 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2012-08-05 21:37:57 +00:00
parent 496e7275b1
commit d3a4604335
4 changed files with 21 additions and 10 deletions
-5
View File
@@ -374,11 +374,6 @@ $(document).ready( function() {
pageInput.val('1');
});
}
$('#wpbody-content-shortcut').bind('click.wp-skip-to-content', function(e){
$('#wpbody-content').focus();
e.preventDefault();
});
});
// internal use