[wp-trac] [WordPress Trac] #31522: Quicktags: use aria-label to improve accessibility

WordPress Trac noreply at wordpress.org
Tue Jun 9 02:19:01 UTC 2015


#31522: Quicktags: use aria-label to improve accessibility
------------------------------+----------------------------------------
 Reporter:  afercia           |       Owner:  afercia
     Type:  defect (bug)      |      Status:  assigned
 Priority:  normal            |   Milestone:  4.3
Component:  Editor            |     Version:  4.1
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  accessibility, javascript
------------------------------+----------------------------------------

Comment (by azaozz):

 Replying to [comment:15 afercia]:

 Ah, I see. Were there any tests without the patch?

 There are two reasons I think this can be confusing:
 - The button behave differently depending on whether something is selected
 in the textarea. If there is a selection it is wrapped with the tag, if
 not, only the opening tag is inserted.
 - As I mentioned above this toolbar is not necessary to use and is
 targeted at people with some understanding of HTML. Wouldn't it be clearer
 for the screen readers to announce the actual HTML tags instead of "plain
 language" descriptions of the tags? I.e. the button "del" will have
 `ariaLabel="<del>"`, etc.

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


More information about the wp-trac mailing list