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. Built from https://develop.svn.wordpress.org/trunk@49208 git-svn-id: http://core.svn.wordpress.org/trunk@48970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9556c08b35
commit
3d02b5b585
@ -102,6 +102,7 @@ if ( ! function_exists( 'twentyfifteen_setup' ) ) :
|
|||||||
'caption',
|
'caption',
|
||||||
'script',
|
'script',
|
||||||
'style',
|
'style',
|
||||||
|
'navigation-widgets',
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -146,6 +146,7 @@ if ( ! function_exists( 'twentyfourteen_setup' ) ) :
|
|||||||
'caption',
|
'caption',
|
||||||
'script',
|
'script',
|
||||||
'style',
|
'style',
|
||||||
|
'navigation-widgets',
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -76,6 +76,7 @@ if ( ! function_exists( 'twentynineteen_setup' ) ) :
|
|||||||
'caption',
|
'caption',
|
||||||
'script',
|
'script',
|
||||||
'style',
|
'style',
|
||||||
|
'navigation-widgets',
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -79,6 +79,7 @@ function twentyseventeen_setup() {
|
|||||||
'caption',
|
'caption',
|
||||||
'script',
|
'script',
|
||||||
'style',
|
'style',
|
||||||
|
'navigation-widgets',
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -108,6 +108,7 @@ if ( ! function_exists( 'twentysixteen_setup' ) ) :
|
|||||||
'caption',
|
'caption',
|
||||||
'script',
|
'script',
|
||||||
'style',
|
'style',
|
||||||
|
'navigation-widgets',
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -168,6 +168,7 @@ function twentythirteen_setup() {
|
|||||||
'caption',
|
'caption',
|
||||||
'script',
|
'script',
|
||||||
'style',
|
'style',
|
||||||
|
'navigation-widgets',
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -105,6 +105,7 @@ function twentytwenty_theme_support() {
|
|||||||
'caption',
|
'caption',
|
||||||
'script',
|
'script',
|
||||||
'style',
|
'style',
|
||||||
|
'navigation-widgets',
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.6-alpha-49207';
|
$wp_version = '5.6-alpha-49208';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user