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

git-svn-id: https://develop.svn.wordpress.org/trunk@11312 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith
2009-05-12 22:40:56 +00:00
parent f3cd99df21
commit a2bf4db52b
30 changed files with 73 additions and 73 deletions
+3 -3
View File
@@ -83,7 +83,7 @@ include('./admin-header.php');
</tr>
<tr valign="top">
<th scope="row"><?php _e('Membership') ?></th>
<td> <fieldset><legend class="invisible"><span><?php _e('Membership') ?></span></legend><label for="users_can_register">
<td> <fieldset><legend class="screen-reader-text"><span><?php _e('Membership') ?></span></legend><label for="users_can_register">
<input name="users_can_register" type="checkbox" id="users_can_register" value="1" <?php checked('1', get_option('users_can_register')); ?> />
<?php _e('Anyone can register') ?></label>
</fieldset></td>
@@ -197,7 +197,7 @@ if (empty($tzstring)) { // set the Etc zone if no timezone string exists
<tr>
<th scope="row"><?php _e('Date Format') ?></th>
<td>
<fieldset><legend class="invisible"><span><?php _e('Date Format') ?></span></legend>
<fieldset><legend class="screen-reader-text"><span><?php _e('Date Format') ?></span></legend>
<?php
$date_formats = apply_filters( 'date_formats', array(
@@ -230,7 +230,7 @@ if (empty($tzstring)) { // set the Etc zone if no timezone string exists
<tr>
<th scope="row"><?php _e('Time Format') ?></th>
<td>
<fieldset><legend class="invisible"><span><?php _e('Time Format') ?></span></legend>
<fieldset><legend class="screen-reader-text"><span><?php _e('Time Format') ?></span></legend>
<?php
$time_formats = apply_filters( 'time_formats', array(