Plugins: on the Install page, move the name of each plugin into the <h4> to accommodate screen readers.

Props afercia, ChrisMKindred.
Fixes #32400.

Built from https://develop.svn.wordpress.org/trunk@34760


git-svn-id: http://core.svn.wordpress.org/trunk@34725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2015-10-02 04:16:27 +00:00
parent ddc1670e90
commit da1c938a5c
6 changed files with 9 additions and 15 deletions

View File

@ -1618,11 +1618,6 @@ div.action-links,
margin: 0 0 20px 20px;
}
.plugin-icon img {
width: 128px;
height: 128px;
}
.no-plugin-results {
color: #999;
font-size: 18px;

View File

@ -1618,11 +1618,6 @@ div.action-links,
margin: 0 20px 20px 0;
}
.plugin-icon img {
width: 128px;
height: 128px;
}
.no-plugin-results {
color: #999;
font-size: 18px;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -492,9 +492,13 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
?>
<div class="plugin-card plugin-card-<?php echo sanitize_html_class( $plugin['slug'] ); ?>">
<div class="plugin-card-top">
<a href="<?php echo esc_url( $details_link ); ?>" class="thickbox plugin-icon"><img src="<?php echo esc_attr( $plugin_icon_url ) ?>" /></a>
<div class="name column-name">
<h4><a href="<?php echo esc_url( $details_link ); ?>" class="thickbox"><?php echo $title; ?></a></h4>
<h4>
<a href="<?php echo esc_url( $details_link ); ?>" class="thickbox">
<?php echo $title; ?>
<img src="<?php echo esc_attr( $plugin_icon_url ) ?>" class="plugin-icon" alt="">
</a>
</h4>
</div>
<div class="action-links">
<?php

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-alpha-34759';
$wp_version = '4.4-alpha-34760';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.