WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/04/2008 10:37:06 AM (12 years ago)
Author:
westi
Message:

Associate lables with form fields. Fixes #6859 props MarcoZ.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/widgets.php

    r7881 r7883  
    235235    <h2><?php _e( 'Widgets' ); ?></h2>
    236236    <p id="widget-search">
     237        <label class="hidden" for="widget-search-input"><?php _e( 'Search Widgets' ); ?>:</label>
    237238        <input type="text" id="widget-search-input" name="s" value="<?php echo attribute_escape( $widget_search ); ?>" />
    238239        <input type="submit" class="button" value="<?php _e( 'Search Widgets' ); ?>" />
     
    241242    <div class="widget-liquid-left-holder">
    242243    <div id="available-widgets-filter" class="widget-liquid-left">
    243         <h3><?php _e('Available Widgets'); ?></h3>
     244        <h3><label for="show"><?php _e('Available Widgets'); ?></label></h3>
    244245        <div class="nav">
    245             <select name="show">
     246            <select name="show" id="show">
    246247<?php foreach ( $show_values as $show_value => $show_text ) : $show_value = attribute_escape( $show_value ); ?>
    247248                <option value='<?php echo $show_value; ?>'<?php selected( $show_value, $show ); ?>><?php echo wp_specialchars( $show_text ); ?></option>
     
    257258
    258259    <div id="available-sidebars" class="widget-liquid-right">
    259         <h3><?php _e('Current Widgets'); ?></h3>
     260        <h3><label for="sidebar-selector"><?php _e('Current Widgets'); ?></label></h3>
    260261
    261262        <div class="nav">
Note: See TracChangeset for help on using the changeset viewer.