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

WordPress Trac noreply at wordpress.org
Wed Sep 13 21:47:05 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 afercia):

 Yeah, I was hesitant to address also the focus issue, because, ideally,
 that should work out of the box :( I've also quickly tried that and it
 triggers some weird behaviors:
 - in Firefox, the page scrolls and the editor area first line goes under
 the WP toolbar
 - in both Chrome and Firefox, if one line in the editor area was
 previously focused, clicking the label puts focus on that line because I
 guess CodeMirror remembers the previous insertion point; this behaviour is
 confusing when the focused line is outside of the visible editor area
 portion (which doesn't scroll)

 About the Help text, see also the
 [https://wordpress.slack.com/archives/C0381N237/p1505329202000457
 discussion on Slack].

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


More information about the wp-trac mailing list