[wp-trac] [WordPress Trac] #60916: Menu link validation
WordPress Trac
noreply at wordpress.org
Thu Mar 6 23:51:06 UTC 2025
#60916: Menu link validation
-------------------------------------+-------------------------------------
Reporter: nikitasolanki1812 | Owner: joedolson
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.8
Component: Menus | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch changes- | Focuses: javascript,
requested | administration
-------------------------------------+-------------------------------------
Changes (by joedolson):
* status: accepted => closed
* resolution: => fixed
Comment:
Menus: Validate custom links and add accessible error messages.
Add URL validation in the admin navigation menu manager that matches the
validation in the customizer when adding custom links. Improve
accessibility of both custom link forms by adding `aria-invalid` and
`aria-describedby` attributes with visible error messages and announcing
the error using `wp.a11y.speak()`.
Props joedolson, nikitasolanki1812, akrocks, pathan-amaankhan, rcreators,
ironprogrammer, audrasjb, ankit-k-gupta, chaion07, rinkalpagdar,
snehapatil02, jainil07, parthvataliya.
Fixes #60916, #60969.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60916#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list