[wp-trac] [WordPress Trac] #48170: Switch link list widgets to nav blocks

WordPress Trac noreply at wordpress.org
Sun Sep 29 15:28:09 UTC 2019


#48170: Switch link list widgets to nav blocks
---------------------------+-----------------------------
 Reporter:  joedolson      |      Owner:  joedolson
     Type:  enhancement    |     Status:  assigned
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Widgets        |    Version:
 Severity:  normal         |   Keywords:
  Focuses:  accessibility  |
---------------------------+-----------------------------
 Functionally, most of the widgets used in WordPress (archive links,
 categories list, tag cloud, recent posts, etc.) are nav blocks.
 Semantically, it would be sensible to mark them all as such and use aria-
 labelledby or aria-label to associate their context labels.

 As a counter argument, adding the `<nav>` wrapper to these widgets is
 likely to have a) design consequences for themes and b) result in sites
 with large numbers of nav landmarks.

 See thread: https://twitter.com/SaraSoueidan/status/1178015124076077056

 There are arguments both for and against; it's something we should
 consider.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48170>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list