[wp-trac] [WordPress Trac] #12423: Include default code editor

WordPress Trac noreply at wordpress.org
Tue Jun 6 17:16:33 UTC 2017


#12423: Include default code editor
-----------------------------+------------------------------
 Reporter:  scribu           |       Owner:  georgestephanis
     Type:  feature request  |      Status:  assigned
 Priority:  normal           |   Milestone:  Future Release
Component:  Editor           |     Version:  3.0
 Severity:  normal           |  Resolution:
 Keywords:  close            |     Focuses:  accessibility
-----------------------------+------------------------------

Comment (by georgestephanis):

 So, there's some accessibility issues that need to be evaluated, but it
 feels like -- all things considered, CodeMirror is likely the best option.

 There have been several folks pointing out above that for folks with a
 screenreader, CodeMirror can be an actual regression and make things
 harder to use -- so for the moment, so we can make progress let's build in
 some sort of opt-in / opt-out system (I don't really care which is the
 default, so long as everyone can self-select the experience that is better
 for them).

 If a better, more accessible code editor comes along in the future, we can
 always swap to using that instead of what we use currently.

 For simplicity's sake, and so as to avoid generating 750k+ .patch files,
 I'll create and work off of a GitHub repo for creating a plugin so folks
 can have an easier time testing and tracking smaller issues off of but
 will be reporting back here as work progresses.  If anyone has need of
 commit access, just ping me here or on Slack.

 tl;dr: CodeMirror isn't the best on accessibility, so let's let folks
 easily not use it if it's a degradation.

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


More information about the wp-trac mailing list