[wp-trac] [WordPress Trac] #38061: Rename the text window name on the editor
WordPress Trac
noreply at wordpress.org
Tue Nov 21 10:23:54 UTC 2017
#38061: Rename the text window name on the editor
-------------------------------------+------------------------------
Reporter: lukecavanagh | Owner: afercia
Type: enhancement | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-refresh | Focuses: accessibility
-------------------------------------+------------------------------
Comment (by mark-k):
Replying to [comment:23 afercia]:
> > which leads to the question why should it exist in the first place
>
> @mark-k although the textarea is filled up with HTML comments, blocks
meta-data, and stuff that make readability of the "code" harder, a native
HTML textarea is the only guarantee the post content can be edited using
any device and any assistive technology.
Since that is neither HTML nor "code" (whatever that means) I wonder how
any assistive technology can make any sense of what is there. Can it
really voice "[galley]" as "A gallery shortcode without parameters"? Can
it differentiate between "youtube.com/nnnnn" as an embed and as a text?
IMHO it is not enough to just throw text into a textarea and just because
there is an aria attribute, or whatever is needed, to call it assistive
technology friendly. Maybe it is friendly to the technology but it is
unlikely to be friendly to any human that uses it. How will it announce
the gutenber json data?
Regardless of assistive technology, why would you even want to expose the
gutenberg data to be edited by hand?
I have no knowledge of assistive technology, but it sounds to me that
everything in an editor which should be friendly to people that need it,
needs some semantic annotation of what everything actually means in
addition to it being a general text. This probably should eliminate any
usage of textarea for it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38061#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list