[wp-trac] [WordPress Trac] #26562: Remove title attributes: class-wp-admin-bar.php

WordPress Trac noreply at wordpress.org
Fri Apr 30 21:57:40 UTC 2021


#26562: Remove title attributes: class-wp-admin-bar.php
-------------------------------------------------+-------------------------
 Reporter:  joedolson                            |       Owner:  joedolson
     Type:  enhancement                          |      Status:  accepted
 Priority:  normal                               |   Milestone:  5.8
Component:  Toolbar                              |     Version:  3.3
 Severity:  normal                               |  Resolution:
 Keywords:  title-attribute has-screenshots      |     Focuses:  ui,
  commit                                         |  accessibility
-------------------------------------------------+-------------------------
Changes (by audrasjb):

 * keywords:  ui-feedback title-attribute has-screenshots => title-attribute
     has-screenshots commit


Comment:

 I just tested `26562.2.patch` and it looks like it works fine:
 - it removes the unwanted `title` attribute
 - it adds `aria-hidden` attributes to the number information (which is
 redondant for screen reader users)
 - it moves the details of the updates inside the screen reader text
 container

 Good job! :) Marking for `commit`

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


More information about the wp-trac mailing list