WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Underlined text on button

for

From: Jon Gunderson
Date: Mar 22, 2002 10:06AM


Tarek,
Here is the HTML code for a submit button:

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

You can do other styling of the text, preferably with cascading style
sheets [1].

Jon

[1] http://www.w3.org/TR/CSS1.html

At 10:00 AM 3/22/2002 -0600, you wrote:
>Hello Everyone,
>
>Just wondering if sombebody knows how to underline text for a value of a
>button. For instance I have a button called Submit, and I want to
>underline the letter S, to tell the user that S is the shortcut key.
>Anybody can help with that?
>
>Thanks.
>
>Tarek
>
>
>
>_________________________________________________________________
>Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
>----
>To subscribe, unsubscribe, or view list archives, visit
>http://www.webaim.org/discussion/

Jon Gunderson, Ph.D., ATP
Coordinator of Assistive Communication and Information Technology
Division of Rehabilitation - Education Services
MC-574
College of Applied Life Studies
University of Illinois at Urbana/Champaign
1207 S. Oak Street, Champaign, IL 61820

Voice: (217) 244-5870
Fax: (217) 333-0248

E-mail: <EMAIL REMOVED>

WWW: http://www.staff.uiuc.edu/~jongund
WWW: http://www.w3.org/wai/ua



----
To subscribe, unsubscribe, or view list archives,
visit http://www.webaim.org/discussion/