WordPress.org

Make WordPress Core


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

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

File:
1 edited

Legend:

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

    r7872 r7883  
    462462            <form id="searchform" method="get" action="<?php bloginfo('home'); ?>">
    463463            <div>
     464            <label class="hidden" for="s"><?php _e('Search for:'); ?></label>
    464465            <input type="text" name="s" id="s" size="15" /><br />
    465466            <input type="submit" value="<?php echo attribute_escape(__('Search')); ?>" />
Note: See TracChangeset for help on using the changeset viewer.