Make WordPress Core

Changeset 32102


Ignore:
Timestamp:
04/09/2015 11:44:50 PM (10 years ago)
Author:
azaozz
Message:

Press This: add ARIA attributes to the alerts container.
Props afercia. Fixes #31942.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-press-this.php

    r32093 r32102  
    13231323    <div class="wrapper">
    13241324        <div class="editor-wrapper">
    1325             <div class="alerts">
     1325            <div class="alerts" role="alert" aria-live="assertive" aria-relevant="all" aria-atomic="true">
    13261326                <p class="alert is-notice is-hidden should-upgrade-bookmarklet">
    13271327                    <?php printf( __( 'You should upgrade <a href="%s" target="_blank">your bookmarklet</a> to the latest version!' ), admin_url( 'tools.php' ) ); ?>
Note: See TracChangeset for help on using the changeset viewer.