Make WordPress Core

Changeset 35009


Ignore:
Timestamp:
10/10/2015 03:16:04 PM (9 years ago)
Author:
afercia
Message:

Accessibility: bump headings one level up on the Add Plugins screen for a better headings hierarchy.

Fixes #33818.

Location:
trunk/src/wp-admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/list-tables.css

    r34892 r35009  
    14371437}
    14381438
     1439.plugin-install-php h2 {
     1440    clear: both;
     1441}
     1442
    14391443.plugin-install-php h3 {
    1440     clear: both;
    1441 }
    1442 
    1443 .plugin-install-php h4 {
    14441444    margin: 2.5em 0 8px;
    14451445}
     
    15181518}
    15191519
    1520 .plugin-card h4 {
     1520.plugin-card h3 {
    15211521    margin: 0 0 12px;
    15221522    font-size: 18px;
  • trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php

    r34891 r35009  
    497497            <div class="plugin-card-top">
    498498                <div class="name column-name">
    499                     <h4>
     499                    <h3>
    500500                        <a href="<?php echo esc_url( $details_link ); ?>" class="thickbox">
    501501                        <?php echo $title; ?>
    502502                        <img src="<?php echo esc_attr( $plugin_icon_url ) ?>" class="plugin-icon" alt="">
    503503                        </a>
    504                     </h4>
     504                    </h3>
    505505                </div>
    506506                <div class="action-links">
  • trunk/src/wp-admin/includes/plugin-install.php

    r34764 r35009  
    215215    <?php display_plugins_table(); ?>
    216216
    217     <h3><?php _e( 'Popular tags' ) ?></h3>
     217    <h2><?php _e( 'Popular tags' ) ?></h2>
    218218    <p><?php _e( 'You may also browse based on the most popular tags in the Plugin Directory:' ) ?></p>
    219219    <?php
Note: See TracChangeset for help on using the changeset viewer.