Index: wp-admin/options-privacy.php
===================================================================
--- wp-admin/options-privacy.php	(revision 11256)
+++ wp-admin/options-privacy.php	(working copy)
@@ -25,7 +25,7 @@
 <table class="form-table">
 <tr valign="top">
 <th scope="row"><?php _e('Blog Visibility') ?> </th>
-<td><fieldset><legend class="invisible"><?php _e('Blog Visibility') ?> </legend>
+<td><fieldset><legend class="invisible hide-if-js"><?php _e('Blog Visibility') ?> </legend>
 <p><input id="blog-public" type="radio" name="blog_public" value="1" <?php checked('1', get_option('blog_public')); ?> />
 <label for="blog-public"><?php _e('I would like my blog to be visible to everyone, including search engines (like Google, Sphere, Technorati) and archivers');?></label></p>
 <p><input id="blog-norobots" type="radio" name="blog_public" value="0" <?php checked('0', get_option('blog_public')); ?> />
Index: wp-admin/includes/file.php
===================================================================
--- wp-admin/includes/file.php	(revision 11256)
+++ wp-admin/includes/file.php	(working copy)
@@ -758,7 +758,7 @@
 <tr valign="top">
 <th scope="row"><?php _e('Connection Type') ?></th>
 <td>
-<fieldset><legend class="invisible"><?php _e('Connection Type') ?></legend>
+<fieldset><legend class="invisible hide-if-js"><?php _e('Connection Type') ?></legend>
 <label><input id="ftp" name="connection_type"  type="radio" value="ftp" <?php checked('ftp', $connection_type); if ( defined('FTP_SSL') || defined('FTP_SSH') ) echo ' disabled="disabled"'; ?>/> <?php _e('FTP') ?></label><br />
 <label><input id="ftps" name="connection_type" type="radio" value="ftps" <?php checked('ftps', $connection_type); if ( defined('FTP_SSH') || defined('FTP_SSH') ) echo ' disabled="disabled"';  ?>/> <?php _e('FTPS (SSL)') ?></label><br />
 <?php if ( extension_loaded('ssh2') ) { ?><label><input id="ssh" name="connection_type" type="radio" value="ssh" <?php checked('ssh', $connection_type);  if ( defined('FTP_SSL') || defined('FTP_SSH') ) echo ' disabled="disabled"'; ?>/> <?php _e('SSH') ?></label><?php } ?>
Index: wp-admin/options-general.php
===================================================================
--- wp-admin/options-general.php	(revision 11256)
+++ wp-admin/options-general.php	(working copy)
@@ -83,7 +83,7 @@
 </tr>
 <tr valign="top">
 <th scope="row"><?php _e('Membership') ?></th>
-<td> <fieldset><legend class="invisible"><?php _e('Membership') ?></legend><label for="users_can_register">
+<td> <fieldset><legend class="invisible hide-if-js"><?php _e('Membership') ?></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 @@
 <tr>
 <th scope="row"><?php _e('Date Format') ?></th>
 <td>
-	<fieldset><legend class="invisible"><?php _e('Date Format') ?></legend>
+	<fieldset><legend class="invisible hide-if-js"><?php _e('Date Format') ?></legend>
 <?php
 
 	$date_formats = apply_filters( 'date_formats', array(
@@ -230,7 +230,7 @@
 <tr>
 <th scope="row"><?php _e('Time Format') ?></th>
 <td>
-	<fieldset><legend class="invisible"><?php _e('Time Format') ?></legend>
+	<fieldset><legend class="invisible hide-if-js"><?php _e('Time Format') ?></legend>
 <?php
 
 	$time_formats = apply_filters( 'time_formats', array(
Index: wp-admin/options-media.php
===================================================================
--- wp-admin/options-media.php	(revision 11256)
+++ wp-admin/options-media.php	(working copy)
@@ -41,7 +41,7 @@
 
 <tr valign="top">
 <th scope="row"><?php _e('Medium size') ?></th>
-<td><fieldset><legend class="invisible"><?php _e('Medium size') ?></legend>
+<td><fieldset><legend class="invisible hide-if-js"><?php _e('Medium size') ?></legend>
 <label for="medium_size_w"><?php _e('Max Width'); ?></label>
 <input name="medium_size_w" type="text" id="medium_size_w" value="<?php form_option('medium_size_w'); ?>" class="small-text" />
 <label for="medium_size_h"><?php _e('Max Height'); ?></label>
@@ -51,7 +51,7 @@
 
 <tr valign="top">
 <th scope="row"><?php _e('Large size') ?></th>
-<td><fieldset><legend class="invisible"><?php _e('Large size') ?></legend>
+<td><fieldset><legend class="invisible hide-if-js"><?php _e('Large size') ?></legend>
 <label for="large_size_w"><?php _e('Max Width'); ?></label>
 <input name="large_size_w" type="text" id="large_size_w" value="<?php form_option('large_size_w'); ?>" class="small-text" />
 <label for="large_size_h"><?php _e('Max Height'); ?></label>
Index: wp-admin/edit-link-form.php
===================================================================
--- wp-admin/edit-link-form.php	(revision 11256)
+++ wp-admin/edit-link-form.php	(working copy)
@@ -157,7 +157,7 @@
  * @param object $link
  */
 function link_target_meta_box($link) { ?>
-<fieldset><legend class="invisible"><?php _e('Target') ?></legend>
+<fieldset><legend class="invisible hide-if-js"><?php _e('Target') ?></legend>
 <p><label for="link_target_blank" class="selectit">
 <input id="link_target_blank" type="radio" name="link_target" value="_blank" <?php echo ( isset( $link->link_target ) && ($link->link_target == '_blank') ? 'checked="checked"' : ''); ?> />
 <?php _e('<code>_blank</code> - new window or tab.'); ?></label></p>
@@ -192,7 +192,7 @@
 			<table cellpadding="3" cellspacing="5" class="form-table">
 				<tr>
 					<th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?> </th>
-					<td><fieldset><legend class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?> </legend>
+					<td><fieldset><legend class="invisible hide-if-js"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?> </legend>
 						<label for="me">
 						<input type="checkbox" name="identity" value="me" id="me" <?php xfn_check('identity', 'me'); ?> />
 						<?php _e('another web address of mine') ?></label>
@@ -200,7 +200,7 @@
 				</tr>
 				<tr>
 					<th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?> </th>
-					<td><fieldset><legend class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?> </legend>
+					<td><fieldset><legend class="invisible hide-if-js"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?> </legend>
 						<label for="contact">
 						<input class="valinp" type="radio" name="friendship" value="contact" id="contact" <?php xfn_check('friendship', 'contact', 'radio'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('contact') ?></label>
 						<label for="acquaintance">
@@ -213,7 +213,7 @@
 				</tr>
 				<tr>
 					<th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </th>
-					<td><fieldset><legend class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </legend>
+					<td><fieldset><legend class="invisible hide-if-js"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </legend>
 						<label for="met">
 						<input class="valinp" type="checkbox" name="physical" value="met" id="met" <?php xfn_check('physical', 'met'); ?> />
 						<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('met') ?></label>
@@ -221,7 +221,7 @@
 				</tr>
 				<tr>
 					<th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </th>
-					<td><fieldset><legend class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </legend>
+					<td><fieldset><legend class="invisible hide-if-js"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </legend>
 						<label for="co-worker">
 						<input class="valinp" type="checkbox" name="professional" value="co-worker" id="co-worker" <?php xfn_check('professional', 'co-worker'); ?> />
 						<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('co-worker') ?></label>
@@ -232,7 +232,7 @@
 				</tr>
 				<tr>
 					<th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </th>
-					<td><fieldset><legend class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </legend>
+					<td><fieldset><legend class="invisible hide-if-js"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </legend>
 						<label for="co-resident">
 						<input class="valinp" type="radio" name="geographical" value="co-resident" id="co-resident" <?php xfn_check('geographical', 'co-resident', 'radio'); ?> />
 						<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('co-resident') ?></label>
@@ -246,7 +246,7 @@
 				</tr>
 				<tr>
 					<th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </th>
-					<td><fieldset><legend class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </legend>
+					<td><fieldset><legend class="invisible hide-if-js"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </legend>
 						<label for="child">
 						<input class="valinp" type="radio" name="family" value="child" id="child" <?php xfn_check('family', 'child', 'radio'); ?>  />
 						<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('child') ?></label>
@@ -269,7 +269,7 @@
 				</tr>
 				<tr>
 					<th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </th>
-					<td><fieldset><legend class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </legend>
+					<td><fieldset><legend class="invisible hide-if-js"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </legend>
 						<label for="muse">
 						<input class="valinp" type="checkbox" name="romantic" value="muse" id="muse" <?php xfn_check('romantic', 'muse'); ?> />
 						<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('muse') ?></label>
Index: wp-admin/options-discussion.php
===================================================================
--- wp-admin/options-discussion.php	(revision 11256)
+++ wp-admin/options-discussion.php	(working copy)
@@ -25,7 +25,7 @@
 <table class="form-table">
 <tr valign="top">
 <th scope="row"><?php _e('Default article settings') ?></th>
-<td><fieldset><legend class="invisible"><?php _e('Default article settings') ?></legend>
+<td><fieldset><legend class="invisible hide-if-js"><?php _e('Default article settings') ?></legend>
 <label for="default_pingback_flag">
 <input name="default_pingback_flag" type="checkbox" id="default_pingback_flag" value="1" <?php checked('1', get_option('default_pingback_flag')); ?> />
 <?php _e('Attempt to notify any blogs linked to from the article (slows down posting.)') ?></label>
@@ -43,7 +43,7 @@
 </tr>
 <tr valign="top">
 <th scope="row"><?php _e('Other comment settings') ?></th>
-<td><fieldset><legend class="invisible"><?php _e('Other comment settings') ?></legend>
+<td><fieldset><legend class="invisible hide-if-js"><?php _e('Other comment settings') ?></legend>
 <label for="require_name_email"><input type="checkbox" name="require_name_email" id="require_name_email" value="1" <?php checked('1', get_option('require_name_email')); ?> /> <?php _e('Comment author must fill out name and e-mail') ?></label>
 <br />
 <label for="comment_registration">
@@ -102,7 +102,7 @@
 </tr>
 <tr valign="top">
 <th scope="row"><?php _e('E-mail me whenever') ?></th>
-<td><fieldset><legend class="invisible"><?php _e('E-mail me whenever') ?></legend>
+<td><fieldset><legend class="invisible hide-if-js"><?php _e('E-mail me whenever') ?></legend>
 <label for="comments_notify">
 <input name="comments_notify" type="checkbox" id="comments_notify" value="1" <?php checked('1', get_option('comments_notify')); ?> />
 <?php _e('Anyone posts a comment') ?> </label>
@@ -114,7 +114,7 @@
 </tr>
 <tr valign="top">
 <th scope="row"><?php _e('Before a comment appears') ?></th>
-<td><fieldset><legend class="invisible"><?php _e('Before a comment appears') ?></legend>
+<td><fieldset><legend class="invisible hide-if-js"><?php _e('Before a comment appears') ?></legend>
 <label for="comment_moderation">
 <input name="comment_moderation" type="checkbox" id="comment_moderation" value="1" <?php checked('1', get_option('comment_moderation')); ?> />
 <?php _e('An administrator must always approve the comment') ?> </label>
@@ -124,7 +124,7 @@
 </tr>
 <tr valign="top">
 <th scope="row"><?php _e('Comment Moderation') ?></th>
-<td><fieldset><legend class="invisible"><?php _e('Comment Moderation') ?></legend>
+<td><fieldset><legend class="invisible hide-if-js"><?php _e('Comment Moderation') ?></legend>
 <p><label for="comment_max_links"><?php printf(__('Hold a comment in the queue if it contains %s or more links. (A common characteristic of comment spam is a large number of hyperlinks.)'), '<input name="comment_max_links" type="text" id="comment_max_links" value="' . esc_attr(get_option('comment_max_links')) . '" class="small-text" />' ) ?></label></p>
 
 <p><label for="moderation_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be held in the <a href="edit-comments.php?comment_status=moderated">moderation queue</a>. One word or IP per line. It will match inside words, so &#8220;press&#8221; will match &#8220;WordPress&#8221;.') ?></label></p>
@@ -135,7 +135,7 @@
 </tr>
 <tr valign="top">
 <th scope="row"><?php _e('Comment Blacklist') ?></th>
-<td><fieldset><legend class="invisible"><?php _e('Comment Blacklist') ?></legend>
+<td><fieldset><legend class="invisible hide-if-js"><?php _e('Comment Blacklist') ?></legend>
 <p><label for="blacklist_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be marked as spam. One word or IP per line. It will match inside words, so &#8220;press&#8221; will match &#8220;WordPress&#8221;.') ?></label></p>
 <p>
 <textarea name="blacklist_keys" rows="10" cols="50" id="blacklist_keys" class="large-text code"><?php form_option('blacklist_keys'); ?></textarea>
@@ -154,7 +154,7 @@
 <table class="form-table">
 <tr valign="top">
 <th scope="row"><?php _e('Avatar Display') ?></th>
-<td><fieldset><legend class="invisible"><?php _e('Avatar display') ?></legend>
+<td><fieldset><legend class="invisible hide-if-js"><?php _e('Avatar display') ?></legend>
 <?php
 	$yesorno = array(0 => __("Don&#8217;t show Avatars"), 1 => __('Show Avatars'));
 	foreach ( $yesorno as $key => $value) {
@@ -166,7 +166,7 @@
 </tr>
 <tr valign="top">
 <th scope="row"><?php _e('Maximum Rating') ?></th>
-<td><fieldset><legend class="invisible"><?php _e('Maximum Rating') ?></legend>
+<td><fieldset><legend class="invisible hide-if-js"><?php _e('Maximum Rating') ?></legend>
 
 <?php
 $ratings = array( 'G' => __('G &#8212; Suitable for all audiences'), 'PG' => __('PG &#8212; Possibly offensive, usually for audiences 13 and above'), 'R' => __('R &#8212; Intended for adult audiences above 17'), 'X' => __('X &#8212; Even more mature than above'));
@@ -180,7 +180,7 @@
 </tr>
 <tr valign="top">
 <th scope="row"><?php _e('Default Avatar') ?></th>
-<td class="defaultavatarpicker"><fieldset><legend class="invisible"><?php _e('Default Avatar') ?></legend>
+<td class="defaultavatarpicker"><fieldset><legend class="invisible hide-if-js"><?php _e('Default Avatar') ?></legend>
 
 <?php _e('For users without a custom avatar of their own, you can either display a generic logo or a generated one based on their e-mail address.'); ?><br />
 
Index: wp-admin/user-edit.php
===================================================================
--- wp-admin/user-edit.php	(revision 11256)
+++ wp-admin/user-edit.php	(working copy)
@@ -209,7 +209,7 @@
 <?php if (count($_wp_admin_css_colors) > 1 ) : ?>
 <tr>
 <th scope="row"><?php _e('Admin Color Scheme')?></th>
-<td><fieldset><legend class="invisible"><?php _e('Admin Color Scheme')?></legend>
+<td><fieldset><legend class="invisible hide-if-js"><?php _e('Admin Color Scheme')?></legend>
 <?php
 $current_color = get_user_option('admin_color', $user_id);
 if ( empty($current_color) )
Index: wp-admin/css/global.css
===================================================================
--- wp-admin/css/global.css	(revision 11256)
+++ wp-admin/css/global.css	(working copy)
@@ -188,7 +188,7 @@
 /* Hide visually but not from screen readers */
 .invisible {
 	position: absolute;
-	left: -1000em;
+	margin-left: -1000em;
 }
 
 .hidden,
Index: wp-admin/options-reading.php
===================================================================
--- wp-admin/options-reading.php	(revision 11256)
+++ wp-admin/options-reading.php	(working copy)
@@ -26,7 +26,7 @@
 <?php if ( get_pages() ): ?>
 <tr valign="top">
 <th scope="row"><?php _e('Front page displays')?></th>
-<td><fieldset><legend class="invisible"><?php _e('Front page displays')?></legend>
+<td><fieldset><legend class="invisible hide-if-js"><?php _e('Front page displays')?></legend>
 	<p><label>
 		<input name="show_on_front" type="radio" value="posts" class="tog" <?php checked('posts', get_option('show_on_front')); ?> />
 		<?php _e('Your latest posts'); ?>
@@ -63,7 +63,7 @@
 </tr>
 <tr valign="top">
 <th scope="row"><?php _e('For each article in a feed, show') ?> </th>
-<td><fieldset><legend class="invisible"><?php _e('For each article in a feed, show') ?> </legend>
+<td><fieldset><legend class="invisible hide-if-js"><?php _e('For each article in a feed, show') ?> </legend>
 <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 />
 <label><input name="rss_use_excerpt" type="radio" value="1" <?php checked(1, get_option('rss_use_excerpt')); ?> /> <?php _e('Summary') ?></label></p>
 </fieldset></td>
Index: wp-admin/options-writing.php
===================================================================
--- wp-admin/options-writing.php	(revision 11256)
+++ wp-admin/options-writing.php	(working copy)
@@ -30,7 +30,7 @@
 </tr>
 <tr valign="top">
 <th scope="row"><?php _e('Formatting') ?></th>
-<td><fieldset><legend class="invisible"><?php _e('Formatting') ?></legend>
+<td><fieldset><legend class="invisible hide-if-js"><?php _e('Formatting') ?></legend>
 <label for="use_smilies">
 <input name="use_smilies" type="checkbox" id="use_smilies" value="1" <?php checked('1', get_option('use_smilies')); ?> />
 <?php _e('Convert emoticons like <code>:-)</code> and <code>:-P</code> to graphics on display') ?></label><br />
@@ -61,7 +61,7 @@
 <table class="form-table">
 <tr valign="top">
 <th scope="row"><?php _e('Atom Publishing Protocol') ?></th>
-<td><fieldset><legend class="invisible"><?php _e('Atom Publishing Protocol') ?></legend>
+<td><fieldset><legend class="invisible hide-if-js"><?php _e('Atom Publishing Protocol') ?></legend>
 <label for="enable_app">
 <input name="enable_app" type="checkbox" id="enable_app" value="1" <?php checked('1', get_option('enable_app')); ?> />
 <?php _e('Enable the Atom Publishing Protocol.') ?></label><br />
@@ -69,7 +69,7 @@
 </tr>
 <tr valign="top">
 <th scope="row"><?php _e('XML-RPC') ?></th>
-<td><fieldset><legend class="invisible"><?php _e('XML-RPC') ?></legend>
+<td><fieldset><legend class="invisible hide-if-js"><?php _e('XML-RPC') ?></legend>
 <label for="enable_xmlrpc">
 <input name="enable_xmlrpc" type="checkbox" id="enable_xmlrpc" value="1" <?php checked('1', get_option('enable_xmlrpc')); ?> />
 <?php _e('Enable the WordPress, Movable Type, MetaWeblog and Blogger XML-RPC publishing protocols.') ?></label><br />
