Make WordPress Core


Ignore:
Timestamp:
06/06/2011 02:35:30 PM (14 years ago)
Author:
iandstewart
Message:

Twenty Eleven: Add a hidden label for search forms; See #17524

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyeleven/searchform.php

    r17959 r18166  
    99?>
    1010    <form method="get" id="searchform" action="<?php echo home_url( '/' ); ?>">
     11        <label for="s" class="assistive-text"><?php _e( 'Search', 'twentyeleven' ); ?></label>
    1112        <input type="text" class="field" name="s" id="s" placeholder="<?php esc_attr_e( 'Search', 'twentyeleven' ); ?>" />
    1213        <input type="submit" class="submit" name="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'twentyeleven' ); ?>" />
Note: See TracChangeset for help on using the changeset viewer.