Make WordPress Core


Ignore:
Timestamp:
07/03/2020 08:49:23 AM (4 years ago)
Author:
afercia
Message:

Accessibility: Plugins: Accessibility and CSS improvements for the Plugins pages.

  • improves checkboxes alignment on the "Plugins" page table in the responsive view
  • improves spacing between form controls on the "Add Plugins" page in the responsive view
  • the layout of the "filter bar" on the "Add Plugins" page is now based on CSS Flexbox
  • removes italic type from a paragraph in the "Favorites" page

Props passoniate, garethgillman, maxpertici, audrasjb, sabernhardt, afercia.
See #47327.
Fixes #49231.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/plugin-install.php

    r48242 r48281  
    335335            <option value="tag"<?php selected( 'tag', $type ); ?>><?php _ex( 'Tag', 'Plugin Installer' ); ?></option>
    336336        </select>
    337         <label><span class="screen-reader-text"><?php _e( 'Search Plugins' ); ?></span>
    338             <input type="search" name="s" value="<?php echo esc_attr( $term ); ?>" class="wp-filter-search" placeholder="<?php esc_attr_e( 'Search plugins...' ); ?>" />
    339         </label>
     337        <label class="screen-reader-text" for="search-plugins"><?php _e( 'Search Plugins' ); ?></label>
     338        <input type="search" name="s" id="search-plugins" value="<?php echo esc_attr( $term ); ?>" class="wp-filter-search" placeholder="<?php esc_attr_e( 'Search plugins...' ); ?>" />
    340339        <?php submit_button( __( 'Search Plugins' ), 'hide-if-js', false, false, array( 'id' => 'search-submit' ) ); ?>
    341340    </form>
     
    371370    $action = 'save_wporg_username_' . get_current_user_id();
    372371    ?>
    373     <p class="install-help"><?php _e( 'If you have marked plugins as favorites on WordPress.org, you can browse them here.' ); ?></p>
     372    <p><?php _e( 'If you have marked plugins as favorites on WordPress.org, you can browse them here.' ); ?></p>
    374373    <form method="get">
    375374        <input type="hidden" name="tab" value="favorites" />
Note: See TracChangeset for help on using the changeset viewer.