[wp-trac] [WordPress Trac] #12423: Include Ace (or similar) as default code editor
WordPress Trac
noreply at wordpress.org
Thu Feb 16 22:19:17 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 iseulde):
Re: accessibility:
CodeMirror has a `contenteditable` input mode:
http://codemirror.net/doc/manual.html#option_inputStyle. This might work
better with screen readers.
> Selects the way CodeMirror handles input and focus. The core library
defines the "textarea" and "contenteditable" input models. On mobile
browsers, the default is "contenteditable". On desktop browsers, the
default is "textarea". Support for IME and screen readers is better in the
"contenteditable" model. The intention is to make it the default on modern
desktop browsers in the future.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/12423#comment:42>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list