[wp-trac] [WordPress Trac] #63482: wp:list does not like additional attributes on ul
WordPress Trac
noreply at wordpress.org
Mon May 26 16:52:40 UTC 2025
#63482: wp:list does not like additional attributes on ul
--------------------------+------------------------------
Reporter: jasonmader | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version:
Severity: minor | Resolution:
Keywords: | Focuses: accessibility
--------------------------+------------------------------
Changes (by sabernhardt):
* focuses: => accessibility
* component: General => Editor
* version: 6.8 =>
Old description:
> Adding additional attributes on {{{<ul>}}} in a wp:list
> {{{
> <!-- wp:list --><ul class="cta wp-block-list" role="menu" aria-
> orientation="horizontal">
> }}}
> Block contains unexpected or invalid content.
New description:
Adding additional attributes on {{{<ul>}}} in a `wp:list`
{{{
<!-- wp:list --><ul class="cta wp-block-list" role="menu" aria-
orientation="horizontal">
}}}
Block contains unexpected or invalid content.
--
Comment:
Reports about the block editor interface belong in the
[https://github.com/WordPress/gutenberg/issues/new/choose Gutenberg
repository].
However, without knowing your links, I do not think the List block fits
for the `role="menu"` [https://www.w3.org/WAI/ARIA/apg/patterns/menubar/
Menu Pattern]. Did you want to create a navigation menu (possibly with a
Navigation block)?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63482#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list