Make WordPress Core

Changes between Initial Version and Version 15 of Ticket #60374


Ignore:
Timestamp:
06/14/2024 11:18:25 PM (5 months ago)
Author:
sabernhardt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #60374

    • Property Status changed from new to assigned
    • Property Focuses css added
    • Property Milestone changed from Awaiting Review to 6.6
    • Property Keywords has-patch needs-testing added
  • Ticket #60374 – Description

    initial v15  
    1 Similar to https://core.trac.wordpress.org/ticket/59924
     1Similar to #59924
    22
    33The navigation block has an option called "Open on click" that is available when there is a submenu.
    4 When the option is enabled, the parent menu item is a <button> element.
     4
     5When the option is enabled, the parent menu item is a `<button>` element.
    56On the front of the website, this button inherits the background styles from the themes button CSS:
    67{{{
     
    1415
    1516== Testing instructions:
    16 Activate Twenty Sixteen
    17 Make sure that your WordPress installation has some content that you can place in the navigation block, because you will need to create a submenu.
    18 Create a new post or page.
    19 Add a navigation block. In the block, select the inserter and add a link: this will be your parent menu item. Click on the link and select the option "Add submenu". Add a link.
    20 Save.
    21 Go to the front of the website.
    22 Locate the navigation and hover over or move focus to the item that has the submenu.
    23 Confirm that the background color of the menu item changes.
     171. Activate Twenty Sixteen
     182. Make sure that your WordPress installation has some content that you can place in the navigation block, because you will need to create a submenu.
     193. Create a new post or page.
     204. Add a navigation block. In the block, select the inserter and add a link: this will be your parent menu item. Click on the link and select the option "Add submenu". Add a link.
     215. Save.
     226. Go to the front of the website.
     237. Locate the navigation and hover over or move focus to the item that has the submenu.
     248. Confirm that the background color of the menu item changes.
    2425
    2526(You may also notice that if you set a background color on the submenu item in the block settings, this color only works in the editor, not the front, and this is a separate issue.)
    26