Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Mar 2005
    Posts
    15
    Member #
    9467
    Hi,

    I used the methods described in this article: http://www.webstandards.org/learn/tu...ble-forms.html
    to make one of my forms more accessible but the access key technique (as described in the Advanced section of said article) doesn't work in Opera 7 (it does in Firefox & IE6). Any idea why?

    Example:
    <label for="txtname" accesskey="N"><span class="shortcut">N</span>ame:</label></span>
    <input type="text" size="25" name="txtname" id="txtname" />

    .shortcut applies an underline

    Thanks,

    itspersonal5

  2.  

  3. #2
    Senior Member GeZe's Avatar
    Join Date
    Dec 2003
    Posts
    330
    Member #
    4381
    not about your problem but...

    Use
    HTML Code:
    <kbd>N</kbd>
    for highlighting the shortcut key instead of
    HTML Code:
    <span class="shortcut">N</span>
    kbd is the proper html tag, it stands for Key BoarD input.
    -GeZe

  4. #3
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    Note that if you do this, you can simply change your CSS class from:
    Code:
    .shortcut
    {
        /* CSS code */
    }
    to
    Code:
    kbd
    {
        /* CSS code */
    }
    According to <a href="http://cita.rehab.uiuc.edu/wai-eval/evals-cp.php?eval_id=7&cp_id=1">this site</a>, Opera only partially supported the accesskey attribute on the label tag in version 7.54. Most likely Opera 8 fully supports this.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 03:35 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com