Make WordPress Core


Ignore:
Timestamp:
09/13/2015 06:15:42 AM (9 years ago)
Author:
westonruter
Message:

Customize: Remove redundant aria-label attributes.

Adds an $options array argument to WP_Screen::render_screen_options() to allow the div#screen-options-wrap element to be omitted when wrap value is false.

Props afercia, westonruter.
Fixes #33182.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/customize.php

    r33857 r34093  
    146146        <div class="wp-full-overlay-sidebar-content" tabindex="-1">
    147147            <div id="customize-info" class="accordion-section customize-info">
    148                 <div class="accordion-section-title" aria-label="<?php esc_attr_e( 'Customizer Options' ); ?>">
     148                <div class="accordion-section-title">
    149149                    <span class="preview-notice"><?php
    150150                        echo sprintf( __( 'You are customizing %s' ), '<strong class="panel-title site-title">' . get_bloginfo( 'name' ) . '</strong>' );
Note: See TracChangeset for help on using the changeset viewer.