[wp-trac] [WordPress Trac] #41872: Minor accessibility improvements to the CodeMirror editing areas

WordPress Trac noreply at wordpress.org
Wed Sep 13 21:32:40 UTC 2017


#41872: Minor accessibility improvements to the CodeMirror editing areas
-------------------------------------+-------------------------------------
 Reporter:  afercia                  |       Owner:  melchoyce
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  4.9
Component:  Customize                |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch has-           |     Focuses:  ui, accessibility,
  screenshots                        |  administration
-------------------------------------+-------------------------------------

Comment (by westonruter):

 An additional change needed for [attachment:41872.2.diff]. When clicking
 on the label it should focus on the CodeMirror editor.

 In other words:

 {{{#!js
 $( label ).on( 'click', function() {
     editor.codemirror.focus();
 } );
 }}}

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


More information about the wp-trac mailing list