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-content/themes/default/searchform.php

    r4983 r7883  
    11<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
     2<label class="hidden" for="s"><?php _e('Search for:'); ?></label>
    23<div><input type="text" value="<?php the_search_query(); ?>" name="s" id="s" />
    34<input type="submit" id="searchsubmit" value="Search" />
Note: See TracChangeset for help on using the changeset viewer.