mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Bundled Themes: Declare support for the html5 feature navigation-widgets.
Widgets that output a list of links are now wrapped within `<nav>` elements to improve semantics and accessibility. The `<nav>` elements are native landmark regions, which helps assistive technology users to navigate through them. Follow-up to [48349], [49177]. Props hareesh-pillai, justinahinon, afercia, williampatton. Fixes #51445. git-svn-id: https://develop.svn.wordpress.org/trunk@49208 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -102,6 +102,7 @@ if ( ! function_exists( 'twentyfifteen_setup' ) ) :
|
||||
'caption',
|
||||
'script',
|
||||
'style',
|
||||
'navigation-widgets',
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
@@ -146,6 +146,7 @@ if ( ! function_exists( 'twentyfourteen_setup' ) ) :
|
||||
'caption',
|
||||
'script',
|
||||
'style',
|
||||
'navigation-widgets',
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
@@ -76,6 +76,7 @@ if ( ! function_exists( 'twentynineteen_setup' ) ) :
|
||||
'caption',
|
||||
'script',
|
||||
'style',
|
||||
'navigation-widgets',
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
@@ -79,6 +79,7 @@ function twentyseventeen_setup() {
|
||||
'caption',
|
||||
'script',
|
||||
'style',
|
||||
'navigation-widgets',
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
@@ -108,6 +108,7 @@ if ( ! function_exists( 'twentysixteen_setup' ) ) :
|
||||
'caption',
|
||||
'script',
|
||||
'style',
|
||||
'navigation-widgets',
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
@@ -168,6 +168,7 @@ function twentythirteen_setup() {
|
||||
'caption',
|
||||
'script',
|
||||
'style',
|
||||
'navigation-widgets',
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
@@ -105,6 +105,7 @@ function twentytwenty_theme_support() {
|
||||
'caption',
|
||||
'script',
|
||||
'style',
|
||||
'navigation-widgets',
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user