[wp-trac] [WordPress Trac] #55557: Reduce CSS-float in admin

WordPress Trac noreply at wordpress.org
Wed Jul 20 19:50:45 UTC 2022


#55557: Reduce CSS-float in admin
----------------------------+---------------------
 Reporter:  kebbet          |       Owner:  (none)
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  6.1
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  css
----------------------------+---------------------

Comment (by sabernhardt):

 When a `div` element has the `list` role, then its
 [https://developer.mozilla.org/en-
 US/docs/Web/Accessibility/ARIA/Roles/list_role#description children should
 have the `listitem` role] (or else `group`).

 If we retain the roles that `ul` and `li` have natively, I would rather
 not replace the semantic elements.

 The question is whether the list roles are necessary or beneficial in this
 case. I think these roles are unnecessary but nice to have.

 CSS flex seems to work with the list tags, though it probably would
 require overriding the `li` margins.

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


More information about the wp-trac mailing list