WordPress/wp-includes/widgets
Sergey Biryukov 6dba11fb82 Accessibility: Widgets: Conditionally wrap the tag cloud widget in a <nav> element.
If the theme declares support for the `html5` feature `navigation-widgets`, the tag cloud widget is now wrapped in a `<nav>` element 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] for other widgets.

Props audrasjb, justinahinon, ravipatel.
Fixes #51455. See #48170.
Built from https://develop.svn.wordpress.org/trunk@49177


git-svn-id: http://core.svn.wordpress.org/trunk@48939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-16 18:32:06 +00:00
..
class-wp-nav-menu-widget.php
class-wp-widget-archives.php
class-wp-widget-calendar.php
class-wp-widget-categories.php
class-wp-widget-custom-html.php Docs: Standardise the type name for booleans and integers. 2020-10-10 20:02:05 +00:00
class-wp-widget-links.php General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:15:13 +00:00
class-wp-widget-media-audio.php
class-wp-widget-media-gallery.php
class-wp-widget-media-image.php
class-wp-widget-media-video.php
class-wp-widget-media.php Docs: Standardise the type name for booleans and integers. 2020-10-10 20:02:05 +00:00
class-wp-widget-meta.php
class-wp-widget-pages.php
class-wp-widget-recent-comments.php
class-wp-widget-recent-posts.php
class-wp-widget-rss.php
class-wp-widget-search.php
class-wp-widget-tag-cloud.php Accessibility: Widgets: Conditionally wrap the tag cloud widget in a <nav> element. 2020-10-16 18:32:06 +00:00
class-wp-widget-text.php Docs: Standardise the type name for booleans and integers. 2020-10-10 20:02:05 +00:00