Make WordPress Core


Ignore:
Timestamp:
10/21/2024 07:53:10 PM (16 months ago)
Author:
joedolson
Message:

Menus: A11y: Set the parent and order using select fields.

Add select inputs to allow users to set the parent and position of items in the menu settings. Fixes a significant problem for screen reader users that makes updating menus extremely tedious, since the options for moving items do not explicitly set a position. This is also a significant improvement for all users manipulating large menus.

This could easily be considered an enhancement, but while it is a minor enhancement for most users, it is transformative for screen reader users in managing menus, moving that interface from nearly unusable to very manageable.

Props javad2000, audrasjb, juliemoynat, williamalexander, rcreators, milamj, joedolson.
Fixes #43305.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/nav-menus.php

    r58306 r59265  
    598598    'movedLeft'               => __( 'Menu item moved out of submenu' ),
    599599    'movedRight'              => __( 'Menu item is now a sub-item' ),
     600    'parentUpdated'           => __( 'Menu parent updated' ),
     601    'orderUpdated'            => __( 'Menu order updated' ),
    600602);
    601603wp_localize_script( 'nav-menu', 'menus', $nav_menus_l10n );
Note: See TracChangeset for help on using the changeset viewer.