Welcome to WebmasterWorld Guest from 107.20.75.63

Forum Moderators: open

Message Too Old, No Replies

accesskeys

mine will work in firefox, but not in MSIE or Opera!?

     
5:22 pm on Jul 23, 2005 (gmt 0)

New User

10+ Year Member

joined:July 19, 2005
posts:25
votes: 0


Hi,

I'm just putting some accesskeys on my site, and am confused because they are working fine in Firefox, but not at all in Opera or IE.

Here is some of the code.

<li id="home"><a class="home" accesskey="1" href="index.html" title="Home">Home</a></li>

<li id="about"><a class="about" accesskey="2" href="about.html" title="About">About</a></li>

<li id="meet"><a class="meet" accesskey="3" href="meet.html" title="Meet">Meet</a></li>

<li id="links"><a class="links" accesskey="4" href="links.html" title="Links">Links</a></li>

Is there anything I've done wrong?

In Firefox when I do alt+accesskey the relevant link is followed. But in IE and Opera I get a dull thudding "error" kind of sound. Why?

Thanks, Katie

5:34 pm on July 23, 2005 (gmt 0)

New User

10+ Year Member

joined:July 19, 2005
posts:25
votes: 0


I just found this for Opera, here:
[help.opera.com...]

Access keys
Toggle HTML access keysShift + Esc
Enter HTML access keysA-Z

and by doing this my accesskeys work.

But I'm still confused. Does this mean alt+accesskey does not work in Opera? I thought this combination was good for all of Windows?

Katie

5:51 pm on July 23, 2005 (gmt 0)

Senior Member from CA 

WebmasterWorld Senior Member encyclo is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 31, 2003
posts:9063
votes: 2


Accesskeys are dependent on both the underlying operating system as well as the user agent (browser). In IE, selecting the accesskey on a link doesn't actually follow the link, it merely gives the link focus - then you must press "Enter" to visit the link. I suspect that is what you are experiencing here.