Plugins: on the Install page, move the name of each plugin into the <h4>
to accommodate screen readers.
Props afercia, ChrisMKindred. Fixes #32400. git-svn-id: https://develop.svn.wordpress.org/trunk@34760 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
319818a408
commit
c152375b58
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user