![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I use form and input elements just to create an (ugly) navigation button. Now, for accessibility, I provide an accelerator key for it so that the first letter of the value attribute is a link. For example, This works: form" input id="button" type="button" value=" Foo homepage " accesskey="f" onClick="parent.location='../index.html'" /form |
|
However, the "F" in Foo is not underlined. How can I decorate the "F" so that the user knows it is an accelerator? |
|
A more general question: anchor elements by default have underlined content. Given that, how can one distinguish the first letter of the text to signal the user that it is an accelerator? |
#3
| |||
| |||
|
|
I use form and input elements just to create an (ugly) navigation button. Now, for accessibility, I provide an accelerator key for it so that the first letter of the value attribute is a link. For example, This works: form" input id="button" type="button" value=" Foo homepage " accesskey="f" onClick="parent.location='../index.html'" /form However, the "F" in Foo is not underlined. How can I decorate the "F" so that the user knows it is an accelerator? |
|
A more general question: anchor elements by default have underlined content. Given that, how can one distinguish the first letter of the text to signal the user that it is an accelerator? |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
Chris Morris wrote: Use of numeric accesskey values mostly gets around the conflict problem (though on my machine Alt-number is intercepted by the window system and never even reaches the browser) but replaces it by the accesskeys being entirely unintuitive. I dunno. Is Alt+1 => home that unintuitive? |
|
(OK, so maybe the other numbers can be, but there are fairly well-established conventions on numeric access keys that can help.) |
![]() |
| Thread Tools | |
| Display Modes | |
| |