WordPress.org

Make WordPress Core

Changeset 16827


Ignore:
Timestamp:
12/09/2010 01:46:31 AM (7 years ago)
Author:
nacin
Message:

Add the for atteibute to internal linking labels. props batmoo, see #11420.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/internal-linking.php

    r16784 r16827  
    7676        <p class="howto"><?php _e( 'Enter the destination URL:' ); ?></p>
    7777        <div>
    78             <label><span><?php _e( 'URL' ); ?></span><input id="url-field" type="text" tabindex="10" autocomplete="off" /></label>
     78            <label for="url-field"><span><?php _e( 'URL' ); ?></span><input id="url-field" type="text" tabindex="10" autocomplete="off" /></label>
    7979        </div>
    8080        <div>
    81             <label><span><?php _e( 'Title' ); ?></span><input id="link-title-field" type="text" tabindex="20" autocomplete="off" /></label>
     81            <label for="link-title-field"><span><?php _e( 'Title' ); ?></span><input id="link-title-field" type="text" tabindex="20" autocomplete="off" /></label>
    8282        </div>
    8383        <div class="link-target">
    84             <label><input type="checkbox" id="link-target-checkbox" tabindex="30" /> <?php _e( 'Open link in a new window/tab' ); ?></label>
     84            <label for="link-target-checkbox"><input type="checkbox" id="link-target-checkbox" tabindex="30" /> <?php _e( 'Open link in a new window/tab' ); ?></label>
    8585        </div>
    8686    </div>
Note: See TracChangeset for help on using the changeset viewer.