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 Docs: Various formatting improvements to inline docblocks. 2020-07-23 00:52:05 +00:00
class-wp-widget-archives.php Widgets: Use correct escaping function in WP_Widget_Archives::widget(). 2020-07-31 13:15:05 +00:00
class-wp-widget-calendar.php Coding Standards: Format the markup of widget forms in a more consistent manner. 2020-04-17 09:38:07 +00:00
class-wp-widget-categories.php Widgets: Adjust formatting for displaying the closing </nav> tag in widgets for consistency with the opening tag. 2020-07-08 13:44:04 +00:00
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 Docs: Remove @return void from widget DocBlocks. 2020-01-10 00:30:05 +00:00
class-wp-widget-media-gallery.php Docs: Remove @return void from widget DocBlocks. 2020-01-10 00:30:05 +00:00
class-wp-widget-media-image.php Widgets: Make sure image widgets with custom image size render captions. 2020-07-21 23:14:06 +00:00
class-wp-widget-media-video.php Widgets: Revert [47307]. 2020-02-18 18:19:06 +00:00
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 Widgets: Adjust formatting for displaying the closing </nav> tag in widgets for consistency with the opening tag. 2020-07-08 13:44:04 +00:00
class-wp-widget-pages.php Widgets: Adjust formatting for displaying the closing </nav> tag in widgets for consistency with the opening tag. 2020-07-08 13:44:04 +00:00
class-wp-widget-recent-comments.php Docs: Reference the documentation of the new navigation_widgets_format filter instead of repeating it. 2020-07-07 17:06:04 +00:00
class-wp-widget-recent-posts.php Widgets: Adjust formatting for displaying the closing </nav> tag in widgets for consistency with the opening tag. 2020-07-08 13:44:04 +00:00
class-wp-widget-rss.php Docs: Reference the documentation of the new navigation_widgets_format filter instead of repeating it. 2020-07-07 17:06:04 +00:00
class-wp-widget-search.php Coding Standards: Format the markup of widget forms in a more consistent manner. 2020-04-17 09:38:07 +00:00
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