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-writing.php

    r11283 r11312  
    3131<tr valign="top">
    3232<th scope="row"><?php _e('Formatting') ?></th>
    33 <td><fieldset><legend class="invisible"><span><?php _e('Formatting') ?></span></legend>
     33<td><fieldset><legend class="screen-reader-text"><span><?php _e('Formatting') ?></span></legend>
    3434<label for="use_smilies">
    3535<input name="use_smilies" type="checkbox" id="use_smilies" value="1" <?php checked('1', get_option('use_smilies')); ?> />
     
    6262<tr valign="top">
    6363<th scope="row"><?php _e('Atom Publishing Protocol') ?></th>
    64 <td><fieldset><legend class="invisible"><span><?php _e('Atom Publishing Protocol') ?></span></legend>
     64<td><fieldset><legend class="screen-reader-text"><span><?php _e('Atom Publishing Protocol') ?></span></legend>
    6565<label for="enable_app">
    6666<input name="enable_app" type="checkbox" id="enable_app" value="1" <?php checked('1', get_option('enable_app')); ?> />
     
    7070<tr valign="top">
    7171<th scope="row"><?php _e('XML-RPC') ?></th>
    72 <td><fieldset><legend class="invisible"><span><?php _e('XML-RPC') ?></span></legend>
     72<td><fieldset><legend class="screen-reader-text"><span><?php _e('XML-RPC') ?></span></legend>
    7373<label for="enable_xmlrpc">
    7474<input name="enable_xmlrpc" type="checkbox" id="enable_xmlrpc" value="1" <?php checked('1', get_option('enable_xmlrpc')); ?> />
Note: See TracChangeset for help on using the changeset viewer.