[wp-trac] [WordPress Trac] #35566: Remove title attributes: Tag cloud widget uses title to display topic count

WordPress Trac noreply at wordpress.org
Sun Apr 10 12:09:44 UTC 2016


#35566: Remove title attributes: Tag cloud widget uses title to display topic count
--------------------------+--------------------------------
 Reporter:  adamsoucie    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Widgets       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  ui, accessibility
--------------------------+--------------------------------
Changes (by emirpprime):

 * keywords:  needs-patch => has-patch


Comment:

 We worked it up into a plugin: https://github.com/mikelittle/accessible-
 tag-cloud-widget which creates a new accessible widget.

 I've attached a patch for testing that implements a slightly modified
 version. This always outputs the accessible version of the links, and an
 ugly inline style block to reduce the chance of it breaking themes (this
 definitely needs looking at). The defaults of the wp_tag_cloud function
 are not changed, however the WP_Widget_Tag_Cloud class now defaults to an
 accessible version.
 Tested against Twenty Sixteen -> Ten and looks ok.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35566#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list