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

WordPress Trac noreply at wordpress.org
Mon May 11 07:10:01 UTC 2020


#48170: Switch link list widgets to nav blocks
-------------------------+----------------------------
 Reporter:  joedolson    |       Owner:  audrasjb
     Type:  enhancement  |      Status:  accepted
 Priority:  normal       |   Milestone:  5.5
Component:  Widgets      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  accessibility
-------------------------+----------------------------
Changes (by simonjanin):

 * keywords:  needs-patch => has-patch


Comment:

 I add the nav tag for widget menu, widget archives, widget categories,
 widget meta, widget pages, widget recent comments, widget recent posts and
 widget RSS by testing if add_theme_support function exists and
 get_theme_support( 'html5' ) exists.
 With this nav tag, i add role navigation and an aria-label depending on
 the context.

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


More information about the wp-trac mailing list