This is really baffling me! I've just tested my site out with the Jaws screen reader and every accesskey is working but the ones to skip over navigation links, ie alt "s" for main nav and alt "m" for subnav.
Can anyone tell me what's wrong?
I simply have this for my hidden skip nav link
<a href="#maincontent" class="skiplink" accesskey="s" title="Link to skip navigation and read the page contents">Skip over main navigation</a>
and have placed this before the main text
<a name="maincontent" id="maincontent"></a>
here's the link to one of the pages in question - link
i think your problem stems from having the link 'hidden'.
accesskeys bag on items that {display:none;}...
if i understand your intention correctly... i think you could do without the accesskey on the 'skip nav' link... it will be the first link on every page anyway... so users can simply tab to it and skip... no more effort than an accesskey.
i would however consider using the accesskeys on the visible nav links... since a user might want to hop through those.
I've been told the keys work ok in Moz but not IE which is only what I tested the site in.
The style I applied is
.skiplink{display : none;}
so I've done what you suggested. I basically copied the same coding I used on this site so in theory the accesskeys should work. The only thing different is this time I've used div blocks and I'm wondering it is something to do with that?
Bookmarks