Making WordPress.org


Ignore:
Timestamp:
01/20/2016 12:06:07 AM (9 years ago)
Author:
samuelsidler
Message:

WordPress.tv: Improve accessibility of search form.

Props SergeyBiryukov.
Fixes #1473.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/header.php

    r1024 r2332  
    3535
    3636            <form id="searchform" name="searchform" method="get" action="<?php echo $wptv->home_url( '/' ); ?>">
     37                <label for="searchbox" class="screen-reader-text"><?php esc_attr_e( 'Search WordPress.tv', 'wptv' ); ?></label>
    3738                <input type="search" placeholder="<?php esc_attr_e( 'Search WordPress.tv', 'wptv' ); ?>" id="searchbox" name="s" value="<?php the_search_query(); ?>"  />
     39                <input type="submit" value="<?php esc_attr_e( 'Search', 'wptv' ); ?>" />
    3840            </form>
    3941
Note: See TracChangeset for help on using the changeset viewer.