[wp-trac] [WordPress Trac] #32600: wp.a11y.speak improvements

WordPress Trac noreply at wordpress.org
Fri Jun 12 23:12:47 UTC 2015


#32600: wp.a11y.speak improvements
----------------------------------+----------------------------------------
 Reporter:  afercia               |       Owner:
     Type:  defect (bug)          |      Status:  new
 Priority:  normal                |   Milestone:  Awaiting Review
Component:  General               |     Version:  4.2
 Severity:  normal                |  Resolution:
 Keywords:  has-patch dev-        |     Focuses:  accessibility, javascript
  feedback                        |
----------------------------------+----------------------------------------

Comment (by afercia):

 Replying to [comment:4 jdgrimes]:
 > It looks like there is a lot of duplication in the code that creates the
 two containers. Maybe that could be refactored.
 Yup, initially tried with an object with default options to be expanded
 with objects with specific options using `$.extend()` but didn't see any
 real advantage in that. Maybe using a separate function to build the HTML.

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


More information about the wp-trac mailing list