WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/12/2009 10:40:56 PM (12 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-reading.php

    r11283 r11312  
    2727<tr valign="top">
    2828<th scope="row"><?php _e('Front page displays')?></th>
    29 <td><fieldset><legend class="invisible"><span><?php _e('Front page displays')?></span></legend>
     29<td><fieldset><legend class="screen-reader-text"><span><?php _e('Front page displays')?></span></legend>
    3030    <p><label>
    3131        <input name="show_on_front" type="radio" value="posts" class="tog" <?php checked('posts', get_option('show_on_front')); ?> />
     
    6464<tr valign="top">
    6565<th scope="row"><?php _e('For each article in a feed, show') ?> </th>
    66 <td><fieldset><legend class="invisible"><span><?php _e('For each article in a feed, show') ?> </span></legend>
     66<td><fieldset><legend class="screen-reader-text"><span><?php _e('For each article in a feed, show') ?> </span></legend>
    6767<p><label><input name="rss_use_excerpt"  type="radio" value="0" <?php checked(0, get_option('rss_use_excerpt')); ?> /> <?php _e('Full text') ?></label><br />
    6868<label><input name="rss_use_excerpt" type="radio" value="1" <?php checked(1, get_option('rss_use_excerpt')); ?> /> <?php _e('Summary') ?></label></p>
Note: See TracChangeset for help on using the changeset viewer.