Press This: add ARIA attributes to the `alerts` container.

Props afercia. Fixes #31942.

git-svn-id: https://develop.svn.wordpress.org/trunk@32102 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2015-04-09 23:44:50 +00:00
parent 84c5474197
commit 6cf43dfc06
1 changed files with 1 additions and 1 deletions

View File

@ -1322,7 +1322,7 @@ class WP_Press_This {
<div class="wrapper">
<div class="editor-wrapper">
<div class="alerts">
<div class="alerts" role="alert" aria-live="assertive" aria-relevant="all" aria-atomic="true">
<p class="alert is-notice is-hidden should-upgrade-bookmarklet">
<?php printf( __( 'You should upgrade <a href="%s" target="_blank">your bookmarklet</a> to the latest version!' ), admin_url( 'tools.php' ) ); ?>
</p>