[wp-trac] [WordPress Trac] #12423: Include Ace (or similar) as default code editor

WordPress Trac noreply at wordpress.org
Thu Feb 16 21:39:44 UTC 2017


#12423: Include Ace (or similar) as default code editor
-----------------------------+----------------------------
 Reporter:  scribu           |       Owner:  afercia
     Type:  feature request  |      Status:  assigned
 Priority:  normal           |   Milestone:  4.8
Component:  Editor           |     Version:  3.0
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  accessibility
-----------------------------+----------------------------

Comment (by afercia):

 Replying to [comment:39 westonruter]:
 > @afercia is there an established pattern to sniff out for whether or not
 a screen reader is being used

 There is and it's: please don't do that :) Detecting screen readers is no
 different than sniffing browsers: difficult and unreliable. Additionally,
 there are some important ethical and privacy concerns to consider. Some
 interesting reading:

 Thoughts on screen reader detection
 Léonie Watson
 http://tink.uk/thoughts-on-screen-reader-detection/

 On Detecting Assistive Technology
 Joe Dolson
 https://www.joedolson.com/2014/03/detecting-assistive-technology/

 Why screen reader detection on the web is a bad thing
 Marco Zehe
 https://www.marcozehe.de/2014/02/27/why-screen-reader-detection-on-the-
 web-is-a-bad-thing/

 On Screen Reader Detection
 Adrian Roselli
 http://adrianroselli.com/2014/03/on-screen-reader-detection.html

 Detecting Screen Readers – No
 Web Axe
 http://www.webaxe.org/detecting-screen-readers-no/

 Aside: I've spent some time testing the accessible, alternative version of
 CodeMirror: http://bgrins.github.io/codemirror-accessible/
 While it works decently with Firefox+NVDA, it is not ideal when using
 Safari 10 and VoiceOver and it completely freezes Internet Explorer 11
 when using JAWS 17, at least for me.

 I tend to think that only editors based on `contenteditable` can offer a
 decent level of accessibility. Maybe, even something like (cough) draft.js
 could work better, if only decorators for syntax-highlighting existed
 (couldn't find any, so far).

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


More information about the wp-trac mailing list