#51455 closed defect (bug) (fixed)
Add theme support to make tag cloud widget output list of links wrapped within a <nav> element
| Reported by: | audrasjb | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.6 |
| Component: | Widgets | Version: | |
| Severity: | normal | Keywords: | has-patch has-dev-note |
| Cc: | Focuses: | accessibility |
Description
Follow-up to https://core.trac.wordpress.org/ticket/48170#comment:36
Tag cloud widget was missed from #48170.
Attachments (2)
Change History (9)
#1
@
6 years ago
- Keywords has-patch added; needs-patch removed
51455.diff addresses this issue.
Please don't forget to give proper props to @justinahinon who raised the issue in https://core.trac.wordpress.org/ticket/48170#comment:36
#2
@
6 years ago
@audrasjb @justinahinon
Why not use this code
$title = trim( strip_tags( $title ) ); $aria_label = $title ? $title : $default_title;
Change With
$title = wp_strip_all_tags( $title ); $aria_label = $title ? $title : $default_title;
#3
@
6 years ago
@ravipatel I'd prefer to keep consistency with the other existing widgets code (see category widget for reference) :)
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Accessibility: Widgets: Add theme support to make tag cloud widget output list of links wrapped within a
<nav>element.