[wp-trac] [WordPress Trac] #34492: #a11y-headings - Adapt title in Settings API to new hierarchy

WordPress Trac noreply at wordpress.org
Wed Dec 2 23:35:03 UTC 2015


#34492: #a11y-headings - Adapt title in Settings API to new hierarchy
--------------------------------+--------------------------------
 Reporter:  neoxx               |       Owner:  afercia
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:  4.4
Component:  Options, Meta APIs  |     Version:  trunk
 Severity:  normal              |  Resolution:  fixed
 Keywords:  has-patch           |     Focuses:  ui, accessibility
--------------------------------+--------------------------------
Changes (by afercia):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 Replying to [comment:11 theZedt]:
 > still rely on the older `do_settings_sections()` with the JS accordion
 manually applied on top (onto the h3 tags outputted by that).
 Thanks for the details. So, since `/wp-admin/js/accordion.js` targets any
 element with a CSS class `.accordion-section-title` I'm assuming you're
 not using that but you're using a custom implementation that targets the
 h3. If so, you can simply update the jQuery selector. Core can't predict
 or guarantee support for custom implementations.

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


More information about the wp-trac mailing list