Accessibility: Media: Improve the new Media Modal headings text.
See #47610. git-svn-id: https://develop.svn.wordpress.org/trunk@46488 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
778bf0c721
commit
ab8e92995b
@ -178,7 +178,7 @@ function wp_print_media_templates() {
|
||||
<?php // Template for the media frame: used both in the media grid and in the media modal. ?>
|
||||
<script type="text/html" id="tmpl-media-frame">
|
||||
<div class="media-frame-title" id="media-frame-title"></div>
|
||||
<h2 class="media-frame-menu-heading"><?php _e( 'Media Types' ); ?></h2>
|
||||
<h2 class="media-frame-menu-heading"><?php _ex( 'Actions', 'media modal menu actions' ); ?></h2>
|
||||
<button type="button" class="button button-link media-frame-menu-toggle" aria-expanded="false">
|
||||
<?php _e( 'Media Types' ); ?>
|
||||
<span class="dashicons dashicons-arrow-down" aria-hidden="true"></span>
|
||||
@ -188,7 +188,12 @@ function wp_print_media_templates() {
|
||||
<div class="media-frame-router"></div>
|
||||
<div class="media-frame-content"></div>
|
||||
</div>
|
||||
<h2 class="media-frame-actions-heading screen-reader-text"><?php _e( 'Available actions' ); ?></h2>
|
||||
<h2 class="media-frame-actions-heading screen-reader-text">
|
||||
<?php
|
||||
/* translators: Accessibility text. */
|
||||
_e( 'Selected media actions' );
|
||||
?>
|
||||
</h2>
|
||||
<div class="media-frame-toolbar"></div>
|
||||
<div class="media-frame-uploader"></div>
|
||||
</script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user