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

    r11283 r11312  
    4242<tr valign="top">
    4343<th scope="row"><?php _e('Medium size') ?></th>
    44 <td><fieldset><legend class="invisible"><span><?php _e('Medium size') ?></span></legend>
     44<td><fieldset><legend class="screen-reader-text"><span><?php _e('Medium size') ?></span></legend>
    4545<label for="medium_size_w"><?php _e('Max Width'); ?></label>
    4646<input name="medium_size_w" type="text" id="medium_size_w" value="<?php form_option('medium_size_w'); ?>" class="small-text" />
     
    5252<tr valign="top">
    5353<th scope="row"><?php _e('Large size') ?></th>
    54 <td><fieldset><legend class="invisible"><span><?php _e('Large size') ?></span></legend>
     54<td><fieldset><legend class="screen-reader-text"><span><?php _e('Large size') ?></span></legend>
    5555<label for="large_size_w"><?php _e('Max Width'); ?></label>
    5656<input name="large_size_w" type="text" id="large_size_w" value="<?php form_option('large_size_w'); ?>" class="small-text" />
Note: See TracChangeset for help on using the changeset viewer.