Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#24402 closed defect (bug) (fixed)

Menus accordion should be auto-expanded for no-js

Reported by: drewapicture's profile DrewAPicture Owned by: sergeybiryukov's profile 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 years ago.
24402.2.patch (495 bytes) - added by SergeyBiryukov 11 years ago.

Download all attachments as: .zip

Change History (8)

#1 @DrewAPicture
11 years 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

#2 @SergeyBiryukov
11 years ago

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

#3 @DrewAPicture
11 years ago

  • Keywords has-patch added; needs-patch removed

#4 @SergeyBiryukov
11 years ago

24402.2.patch resolves the issue using CSS.

#5 @DrewAPicture
11 years ago

  • Keywords commit added; dev-feedback removed

24402.2.patch works great in my testing.

#6 @SergeyBiryukov
11 years 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.