mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Accessibility: Wrap the installed themes search field within a form element.
Valid code is important not just to formally meet the specification, but also to ensure user agents, including assistive technologies, can accurately interpret and parse content. When HTML elements are not used in the recommended way, user agents may render them in unexpected ways. It can also become a problem for compatibility with older or even future browsers, devices, or other software. See W3C WCAG 4.1.1. Props takayukister, aryamaaru. Fixes #34881. Built from https://develop.svn.wordpress.org/trunk@40572 git-svn-id: http://core.svn.wordpress.org/trunk@40442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
428afdaa5a
commit
471f1e7201
@ -20,6 +20,10 @@
|
||||
}
|
||||
|
||||
/* Search form */
|
||||
.themes-php .wp-filter-search-form {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.themes-php .wp-filter-search {
|
||||
position: relative;
|
||||
top: -2px;
|
||||
|
2
wp-admin/css/themes-rtl.min.css
vendored
2
wp-admin/css/themes-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -20,6 +20,10 @@
|
||||
}
|
||||
|
||||
/* Search form */
|
||||
.themes-php .wp-filter-search-form {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.themes-php .wp-filter-search {
|
||||
position: relative;
|
||||
top: -2px;
|
||||
|
2
wp-admin/css/themes.min.css
vendored
2
wp-admin/css/themes.min.css
vendored
File diff suppressed because one or more lines are too long
@ -83,7 +83,7 @@ themes.view.Appearance = wp.Backbone.View.extend({
|
||||
},
|
||||
|
||||
// Defines search element container
|
||||
searchContainer: $( '.search-form' ),
|
||||
searchContainer: $( '.wp-filter-search-form' ),
|
||||
|
||||
// Search input and view
|
||||
// for current theme collection
|
||||
|
2
wp-admin/js/theme.min.js
vendored
2
wp-admin/js/theme.min.js
vendored
File diff suppressed because one or more lines are too long
@ -160,7 +160,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
<a href="<?php echo admin_url( 'theme-install.php' ); ?>" class="hide-if-no-js page-title-action"><?php echo esc_html_x( 'Add New', 'Add new theme' ); ?></a>
|
||||
<?php endif; ?>
|
||||
|
||||
<span class="search-form"></span>
|
||||
<form class="wp-filter-search-form"></form>
|
||||
|
||||
<hr class="wp-header-end">
|
||||
<?php
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.8-alpha-40571';
|
||||
$wp_version = '4.8-alpha-40572';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user