Make WordPress Core

Opened 3 years ago

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

Download all attachments as: .zip

Change History (8)

#1 @DrewAPicture
3 years ago

For instance, this is what you get visiting Menus in no-js:

#2 @SergeyBiryukov
3 years ago

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

#3 @DrewAPicture
3 years ago

  • Keywords has-patch added; needs-patch removed

#4 @SergeyBiryukov
3 years ago

24402.2.patch resolves the issue using CSS.

#5 @DrewAPicture
3 years ago

  • Keywords commit added; dev-feedback removed

24402.2.patch works great in my testing.

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