mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Media Grid: change text to "Close Media Panel" to provide context for screen readers.
Props joedolson. Fixes #28976. Built from https://develop.svn.wordpress.org/trunk@29295 git-svn-id: http://core.svn.wordpress.org/trunk@29077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
97fff7e952
commit
97604df447
@ -140,7 +140,7 @@ function wp_print_media_templates() {
|
|||||||
|
|
||||||
<script type="text/html" id="tmpl-media-modal">
|
<script type="text/html" id="tmpl-media-modal">
|
||||||
<div class="<?php echo $class; ?>">
|
<div class="<?php echo $class; ?>">
|
||||||
<a class="media-modal-close" href="#" title="<?php esc_attr_e('Close'); ?>"><span class="media-modal-icon"></span></a>
|
<a class="media-modal-close" href="#"><span class="media-modal-icon"><span class="screen-reader-text"><?php _e( 'Close media panel' ); ?></span></span></a>
|
||||||
<div class="media-modal-content"></div>
|
<div class="media-modal-content"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="media-modal-backdrop"></div>
|
<div class="media-modal-backdrop"></div>
|
||||||
|
Loading…
Reference in New Issue
Block a user