WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: Underlined text on button

for

From: Jukka Korpela
Date: Mar 25, 2002 12:29AM


Jon Gunderson wrote:

> <button type="submit"><span style="text-decoration:
> underline">S</span>ubmit</button>

Unfortunately, the <button> element is far from universally supported.
Several browsers ignore <button> tags and render just the content, so the
form wouldn't work at all.

Solutions like using an image submit button (containing an image of text
with underline) also cause more problems than they could solve.

Besides, underlining, even if succesful, is irrelevant to blind people.

The conclusion is that if you use accesskey attributes, the only way to
ensure that all people who would benefit from them will be aware of them is
to write explicit textual explanations. More on this:
http://www.cs.tut.fi/~jkorpela/forms/accesskey.html#display

The situation is unfortunate, since the explanations will disturb people who
cannot use accesskeys, for some reason or another, or don't find them
useful.

--
Jukka Korpela
TIEKE Tietoyhteiskunnan kehitt