WordPress.org

Making WordPress.org


Ignore:
Timestamp:
02/25/2015 08:47:29 PM (5 years ago)
Author:
coffee2code
Message:

developer.wordpress.org: Improve inline search accessibility.

  • Switch search input label from span tag to label tag
  • Add screen reader text for search icon

Fixes #883.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/header.php

    r990 r1327  
    3131            <div id="inner-search-icon-container">
    3232                <div id="inner-search-icon">
    33                     <div class="dashicons dashicons-search"></div>
     33                    <div class="dashicons dashicons-search"><span class="screen-reader-text"><?php _e( 'Search', 'wporg' ); ?></div>
    3434                </div>
    3535            </div>
Note: See TracChangeset for help on using the changeset viewer.