[wp-trac] [WordPress Trac] #35710: Make aria-label on TinyMCE buttons translatable.

WordPress Trac noreply at wordpress.org
Tue Jan 15 17:44:20 UTC 2019


#35710: Make aria-label on TinyMCE buttons translatable.
--------------------------+----------------------------
 Reporter:  danne_j87     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.2
Component:  TinyMCE       |     Version:  4.4.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  accessibility
--------------------------+----------------------------

Comment (by afercia):

 @azaozz thanks. Was just looking into it. If I'm not wrong, in some cases
 (plugins) it depends on what WordPress does. For example:

 {{{
                 editor.addButton( 'link', {
                         icon: 'link',
                         tooltip: 'Insert/edit link',
                         cmd: 'WP_Link',
                         stateSelector: 'a[href]'
                 });
 }}}

 When I change `tooltip` to `title` then the aria-label is translated.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/35710#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list