❖ toby_net tumblelog ❖
everyday tumblelogging!!!!
2012-1-24

Display access keys

The following entry in your user CSS file (e.g., User:Example/vector.css) will display access keys before links that have them.

This does not work in Internet Explorer versions lower than 8.0, since they don’t support the :before CSS selector.

a[accesskey]:before {
    content: " " attr(accesskey) " ";
    text-transform: uppercase;
    white-space: pre;
    border: thin solid;
    font-family: sans-serif;
    text-decoration: underline overline;
    margin-right: 0.5ex;
}

Reblogged & Liked (リアクション)