accesskey
Posted 2002-07-30 @ 23:36:44
It seems to me that the accesskey attribute is pretty much worthless without some kind of visual cue to let the user know which key is bound to a given element.
Fortunately, CSS2 inlcudes a mechanism by which authors can direct the user agent to generate content based on attribute values.
For example, including this rule will cause compliant browsers to render the character that will trigger the link directly after any A element that has an accesskey specified:
a[accesskey]:after {
content:"[" attr(accesskey) "]";
}
Don't get too excited, though. It only works in Mozilla & Opera.
©2002-2008 kevin c smith