[wp-trac] [WordPress Trac] #63482: wp:list does not like additional attributes on ul

WordPress Trac noreply at wordpress.org
Tue Jul 8 07:42:51 UTC 2025


#63482: wp:list does not like additional attributes on ul
-------------------------+------------------------------
 Reporter:  jasonmader   |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Editor       |     Version:
 Severity:  minor        |  Resolution:
 Keywords:  close        |     Focuses:  accessibility
-------------------------+------------------------------

Comment (by sabernhardt):

 You could ask for this on the Gutenberg repository, but I do not think the
 `role="menu"` [https://www.w3.org/WAI/ARIA/apg/patterns/menubar/ Menu
 Pattern] is common enough to add support for it (either in existing blocks
 or by creating a new core block).

 A separate concern is whether the KSES functions should allow `aria-
 orientation` for users who do not have the `unfiltered_html` capability.
 Within a Custom HTML block, the editor would retain the `role` attribute
 on lists and list items for any user, but it could reject `aria-
 orientation` for a user such as an Author.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63482#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list