Accessible Dynamic Links
4 Comments
Isofarro
Micha? Stempie?
You can use a:active for IE, but it doesn’t work all the time.
Brad Wright
@ Joel : IE can indeed recognise dual class name selectors, but I believe only when you don’t use the element itself as a selector, which would make this the correct CSS:
.helper:focus, .helper.focus {...}
Joel
I noticed you use a.helper.focus as the CSS for IE. I don’t think IE can cope with two classes in a selector like that. I think “a.focus” would do what you want though, considering that the JavaScript only adds the “focus” class to “a” tags that are already classed with “helper”.
Hi Michal, yeah, its a pity :active doesn’t work in a number of cases. I tried it with the off screen positioning, but couldn’t get it working. It might be useful to investigate exactly what styles :active will allow when used in IE.