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

WordPress Trac noreply at wordpress.org
Wed Mar 8 17:00:56 UTC 2017


#35566: Remove title attributes: Tag cloud widget uses title to display topic count
-------------------------------------------------+-------------------------
 Reporter:  adamsoucie                           |       Owner:  afercia
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
Component:  Widgets                              |  Release
 Severity:  normal                               |     Version:
 Keywords:  has-patch needs-refresh has-         |  Resolution:
  screenshots                                    |     Focuses:  ui,
                                                 |  accessibility
-------------------------------------------------+-------------------------
Changes (by afercia):

 * keywords:  has-patch needs-refresh => has-patch needs-refresh has-
     screenshots


Comment:

 This ticket is in [https://make.wordpress.org/core/2017/03/08/dev-chat-
 agenda-for-march-8th-4-7-4-week-1/ today's dev meeting agenda], anyone
 interested welcome!

 To quickly recap: both the attached patch and the standalone plugin on
 GitHub would need some refresh but before moving on I'd say the dev chat
 is a perfect opportunity to discuss a bit the best path forward, backwards
 compatibility, etc. There are basically two proposals, both remove the
 title attribute and:

 1
 Uses a screen-reader-text (or aria-label) to add a "formatted count"
 string and uses that to display a tooltip on hover and focus (this is on
 the GH version before the last commit). Screenshot:

 [[Image(https://cldup.com/uZA8bIcEhS.png)]]

 This option would be accessible since the text (or aria-label) are always
 announced. Some additional CSS for the frontend is required, but we could
 provide a filter for that.

 2
 Same, but without generating any tooltip :)

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


More information about the wp-trac mailing list