Make WordPress Core

Ticket #26555: 26555.patch

File 26555.patch, 776 bytes (added by joedolson, 11 years ago)

Add screen reader text for full screen TinyMCE buttons

  • wp-includes/class-wp-editor.php

     
    729729
    730730                        <div<?php if ( $args['both'] ) { ?> class="wp-fullscreen-both"<?php } ?>>
    731731                        <a title="<?php echo $args['title']; ?>" onclick="<?php echo $args['onclick']; ?>return false;" class="mceButton mceButtonEnabled mce_<?php echo $button; ?>" href="#" id="wp_fs_<?php echo $button; ?>" role="button" aria-pressed="false">
    732                         <span class="mceIcon mce_<?php echo $button; ?>"></span>
     732                        <span class="mceIcon mce_<?php echo $button; ?>"><span class="screen-reader-text"><?php echo $args['title']; ?></span></span>
    733733                        </a>
    734734                        </div>
    735735        <?php