Make WordPress Core


Ignore:
Timestamp:
05/04/2009 09:28:58 PM (15 years ago)
Author:
ryan
Message:

Use invisible class for hiding labels and legends.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-link-form.php

    r11145 r11180  
    139139    <h4><a id="category-add-toggle" href="#category-add"><?php _e( '+ Add New Category' ); ?></a></h4>
    140140    <p id="link-category-add" class="wp-hidden-child">
    141         <label class="hidden" for="newcat"><?php _e( '+ Add New Category' ); ?></label>
     141        <label class="invisible" for="newcat"><?php _e( '+ Add New Category' ); ?></label>
    142142        <input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php _ea( 'New category name' ); ?>" aria-required="true" />
    143143        <input type="button" id="category-add-submit" class="add:categorychecklist:linkcategorydiv button" value="<?php _ea( 'Add' ); ?>" />
     
    158158 */
    159159function link_target_meta_box($link) { ?>
    160 <fieldset><legend class="hidden"><?php _e('Target') ?></legend>
     160<fieldset><legend class="invisible"><?php _e('Target') ?></legend>
    161161<p><label for="link_target_blank" class="selectit">
    162162<input id="link_target_blank" type="radio" name="link_target" value="_blank" <?php echo ( isset( $link->link_target ) && ($link->link_target == '_blank') ? 'checked="checked"' : ''); ?> />
     
    193193                <tr>
    194194                    <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?> </th>
    195                     <td><fieldset><legend class="hidden"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?> </legend>
     195                    <td><fieldset><legend class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?> </legend>
    196196                        <label for="me">
    197197                        <input type="checkbox" name="identity" value="me" id="me" <?php xfn_check('identity', 'me'); ?> />
     
    201201                <tr>
    202202                    <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?> </th>
    203                     <td><fieldset><legend class="hidden"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?> </legend>
     203                    <td><fieldset><legend class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?> </legend>
    204204                        <label for="contact">
    205205                        <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>
     
    214214                <tr>
    215215                    <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </th>
    216                     <td><fieldset><legend class="hidden"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </legend>
     216                    <td><fieldset><legend class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </legend>
    217217                        <label for="met">
    218218                        <input class="valinp" type="checkbox" name="physical" value="met" id="met" <?php xfn_check('physical', 'met'); ?> />
     
    222222                <tr>
    223223                    <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </th>
    224                     <td><fieldset><legend class="hidden"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </legend>
     224                    <td><fieldset><legend class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </legend>
    225225                        <label for="co-worker">
    226226                        <input class="valinp" type="checkbox" name="professional" value="co-worker" id="co-worker" <?php xfn_check('professional', 'co-worker'); ?> />
     
    233233                <tr>
    234234                    <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </th>
    235                     <td><fieldset><legend class="hidden"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </legend>
     235                    <td><fieldset><legend class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </legend>
    236236                        <label for="co-resident">
    237237                        <input class="valinp" type="radio" name="geographical" value="co-resident" id="co-resident" <?php xfn_check('geographical', 'co-resident', 'radio'); ?> />
     
    247247                <tr>
    248248                    <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </th>
    249                     <td><fieldset><legend class="hidden"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </legend>
     249                    <td><fieldset><legend class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </legend>
    250250                        <label for="child">
    251251                        <input class="valinp" type="radio" name="family" value="child" id="child" <?php xfn_check('family', 'child', 'radio'); ?>  />
     
    270270                <tr>
    271271                    <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </th>
    272                     <td><fieldset><legend class="hidden"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </legend>
     272                    <td><fieldset><legend class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </legend>
    273273                        <label for="muse">
    274274                        <input class="valinp" type="checkbox" name="romantic" value="muse" id="muse" <?php xfn_check('romantic', 'muse'); ?> />
Note: See TracChangeset for help on using the changeset viewer.