Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#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:


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 5 years ago.
24402.2.patch (495 bytes) - added by SergeyBiryukov 5 years ago.

Download all attachments as: .zip

Change History (8)

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

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

#3 @DrewAPicture
5 years ago

  • Keywords has-patch added; needs-patch removed

#4 @SergeyBiryukov
5 years ago

24402.2.patch resolves the issue using CSS.

#5 @DrewAPicture
5 years ago

  • Keywords commit added; dev-feedback removed

24402.2.patch works great in my testing.

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