[wp-trac] [WordPress Trac] #51455: Add theme support to make tag cloud widget output list of links wrapped within a <nav> element
WordPress Trac
noreply at wordpress.org
Tue Oct 6 14:22:15 UTC 2020
#51455: Add theme support to make tag cloud widget output list of links wrapped
within a <nav> element
--------------------------------------+----------------------------
Reporter: audrasjb | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.6
Component: Widgets | Version:
Severity: normal | Resolution:
Keywords: needs-dev-note has-patch | Focuses: accessibility
--------------------------------------+----------------------------
Comment (by ravipatel):
@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;
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51455#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list