WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: jQuery: link focus lost in FF 3.5.5 when following linkand hitting backspace key

for

From: Al Sparber
Date: Nov 11, 2009 3:40PM


From: "Loremy" < <EMAIL REMOVED> >

> Hello, I'm a web designer and web user interested in accessibility
> matters and I hope I can learn and contribute here in some way or other.
>
> Here's my first question:
>
> I'm using Firefox 3.5.5 on Vista 32 Home Premium SP2 and only recently
> noticed that -- with javascript/jQuery enabled -- link focus is lost
> when you tab through a page, follow the link to another page and then
> hit the backspace key to come back. Tab navigation continues at top of
> page, not with the next link after the one in focus before.
> No problems in this respect with IE8 and Opera.
>
> Try it for yourself, e.g. with the "Plugins" link in the menu on
> http://jquery.com/ -- once with js enabled (link focus is lost when you
> come back after having followed the link to "Plugins", and once
> with js disabled (link focus is still there after hitting the backspace
> key.)

The problem is actually present in all modern browsers except IE8. Go to
jQuery's forum and see if there is a fix. Here's what I think is happening
since it does work fine in IE8 and it also works right in Firefox with
script disabled...

Mozilla and Safari/Chrome (KHTML) are notorious (at least among scripters)
for taking rendering shortcuts in order to give the illusion of being a
faster browser. This often wreaks havoc with advanced scripts and authors
sometimes program workarounds. I know we do. Check your jQuery scripts for
any unload functions or calls.

--
Al Sparber - PVII
http://www.projectseven.com
Dreamweaver Menus | Galleries | Widgets
http://www.projectseven.com/go/apm
An Accessible & Elegant Accordion