SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Wizard
    Join Date
    Aug 2002
    Location
    N.Ireland
    Posts
    1,046
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Accesskeys not working

    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
    Last edited by Daz; Jan 10, 2003 at 14:32.

  2. #2
    SitePoint Enthusiast
    Join Date
    Jun 2002
    Posts
    69
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    accesskey

    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.

    hope this helps.

  3. #3
    SitePoint Wizard
    Join Date
    Aug 2002
    Location
    N.Ireland
    Posts
    1,046
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •