Making WordPress.org


Ignore:
Timestamp:
08/02/2015 09:49:09 AM (9 years ago)
Author:
ocean90
Message:

Trac templates: Add a label to the search input field.

see ​#735.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/trac.wordpress.org/templates/wporg-header.html

    r601 r1806  
    1212        <div id="head-search">
    1313            <form action="//wordpress.org/search/do-search.php" method="get">
    14                 <input class="text" name="search" type="text" value="" maxlength="150" placeholder="Search WordPress.org" />
     14                <label for="global-search" class="screen-reader-text">Search WordPress.org for:</label>
     15                <input id="global-search" class="text" name="search" type="text" value="" maxlength="150" placeholder="Search WordPress.org" />
    1516                <input type="submit" class="button" value="" />
    1617            </form>
Note: See TracChangeset for help on using the changeset viewer.