WordPress.org

Make WordPress Core

#24402 closed defect (bug) (fixed)

Menus accordion should be auto-expanded for no-js

Reported by: DrewAPicture Owned by: SergeyBiryukov
Milestone: 3.6 Priority: high
Severity: normal Version: 3.6
Component: Menus Keywords: has-patch commit
Focuses: Cc:

Description

If you visit the Nav Menus UI with javascript turned off, there's no way to expand the accordion sections for adding items. We should auto-expand the accordion for no-js.

Attachments (2)

24402.patch (942 bytes) - added by SergeyBiryukov 11 months ago.
24402.2.patch (495 bytes) - added by SergeyBiryukov 11 months ago.

Download all attachments as: .zip

Change History (8)

comment:1 DrewAPicture11 months ago

For instance, this is what you get visiting Menus in no-js:
http://f.cl.ly/items/2K1I0P3s3J1g282B3v1s/Screen%20Shot%202013-05-23%20at%202.01.29%20PM.png

SergeyBiryukov11 months ago

comment:2 SergeyBiryukov11 months ago

24402.patch resolves the issue, but causes all the sections to briefly appear expanded before JS hides them.

comment:3 DrewAPicture11 months ago

  • Keywords has-patch added; needs-patch removed

SergeyBiryukov11 months ago

comment:4 SergeyBiryukov11 months ago

24402.2.patch resolves the issue using CSS.

comment:5 DrewAPicture11 months ago

  • Keywords commit added; dev-feedback removed

24402.2.patch works great in my testing.

comment:6 SergeyBiryukov11 months ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 24348:

Auto-expand the menus accordion if JavaScript is disabled. fixes #24402.

Note: See TracTickets for help on using tickets.