[wp-trac] [WordPress Trac] #34895: Add screen reader text for Admin Bar Comments link

WordPress Trac noreply at wordpress.org
Tue Dec 8 08:19:13 UTC 2015


#34895: Add screen reader text for Admin Bar Comments link
--------------------------+--------------------------------
 Reporter:  slushman      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.5
Component:  Toolbar       |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  ui, accessibility
--------------------------+--------------------------------
Changes (by afercia):

 * focuses:  accessibility => ui, accessibility


Comment:

 A quick screenshot with the last patch applied, tested in Firefox+NVDA:

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

 As you can see there's a bit of redundancy. NVDA reads out:
 - the comments pending count (as part of the accessible name)
 - the new screen reader text (as part of the accessible name)
 - then it announces the element type (link)
 - finally reads out the title attribute (the accessible description)

 Ideally, the first pending count number should be hidden from assistive
 technologies using an `aria-hidden` attribute, one example of this is the
 comments "bubble" in the Posts list table.

 Additionally, the title attribute should be removed :) it would make
 perfectly sense to remove the title attribute in the same way it was done
 for the comments bubble in #32152  with the help of design and UI people.

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


More information about the wp-trac mailing list