[wp-trac] [WordPress Trac] #47028: TinyMCE is failing WAVE accessibility plugin validation

WordPress Trac noreply at wordpress.org
Sun Apr 28 13:15:10 UTC 2019

#47028: TinyMCE is failing WAVE accessibility plugin validation
 Reporter:  conner_bw    |       Owner:  (none)
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  TinyMCE      |     Version:  5.1.1
 Severity:  normal       |  Resolution:  reported-upstream
 Keywords:               |     Focuses:  accessibility
Changes (by afercia):

 * status:  new => closed
 * resolution:   => reported-upstream
 * milestone:  Awaiting Review =>


 @conner_bw thanks for your report! As you may know, TinyMCE is an external
 library and there's not so much WordPress can do to directly change its
 code. I see the issue has been already reported upstream, so I'd lean
 towards closing this ticket.

 That said, this is a border-line case and very close to WAVE reporting
 false positives. While the markup used by TinyMCE for the toolbar buttons
 is a bit unusual, I'd argue WAVE doesn't understand the necessary
 semantics and labelling are rebuilt with ARIA roles and attributes on the
 `<div>`s that wrap the buttons. This particular markup may not be 100%
 compliant (technically, `role="presentation"` is not allowed on button
 elements) but it works in the real world.

 Worth considering all the automated "accessibility checkers" always
 require manual checking. They help a lot in identifying the most common
 violations but sometimes they just can't understand what's going on.

 As far as I can tell, all the TinyMCE buttons are announced properly and
 are operable with keyboard and screen readers. The only exception is the
 "Text color" button: this is a known issue, see for example
 ticket:35710#comment:30 and hopefully will be fixed in the next TinyMCE

Ticket URL: <https://core.trac.wordpress.org/ticket/47028#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list