Make WordPress Core


Ignore:
Timestamp:
05/12/2009 10:40:56 PM (15 years ago)
Author:
markjaquith
Message:

Use a semantic class name for text targeted to screen readers. props filosofo. fixes #9791

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-general.php

    r11283 r11312  
    8484<tr valign="top">
    8585<th scope="row"><?php _e('Membership') ?></th>
    86 <td> <fieldset><legend class="invisible"><span><?php _e('Membership') ?></span></legend><label for="users_can_register">
     86<td> <fieldset><legend class="screen-reader-text"><span><?php _e('Membership') ?></span></legend><label for="users_can_register">
    8787<input name="users_can_register" type="checkbox" id="users_can_register" value="1" <?php checked('1', get_option('users_can_register')); ?> />
    8888<?php _e('Anyone can register') ?></label>
     
    198198<th scope="row"><?php _e('Date Format') ?></th>
    199199<td>
    200     <fieldset><legend class="invisible"><span><?php _e('Date Format') ?></span></legend>
     200    <fieldset><legend class="screen-reader-text"><span><?php _e('Date Format') ?></span></legend>
    201201<?php
    202202
     
    231231<th scope="row"><?php _e('Time Format') ?></th>
    232232<td>
    233     <fieldset><legend class="invisible"><span><?php _e('Time Format') ?></span></legend>
     233    <fieldset><legend class="screen-reader-text"><span><?php _e('Time Format') ?></span></legend>
    234234<?php
    235235
Note: See TracChangeset for help on using the changeset viewer.