Accessible Dynamic Links

4 Comments

Comments are ordered by helpfulness, as indicated by you. Help us pick out the gems and discourage asshattery by voting on notable comments.

Got something to add? You can leave a comment below.

  1. Isofarro

    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.

  2. 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”.

  3. 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 {...}

Impress us

Be friendly / use Textile