[wp-trac] [WordPress Trac] #26553: Remove title attributes: comment-template.php
WordPress Trac
noreply at wordpress.org
Mon Feb 9 19:26:59 UTC 2015
#26553: Remove title attributes: comment-template.php
--------------------------+----------------------------
Reporter: joedolson | Owner: joedolson
Type: defect (bug) | Status: closed
Priority: high | Milestone: 4.2
Component: Comments | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: accessibility
--------------------------+----------------------------
Changes (by jorbin):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"31388"]:
{{{
#!CommitTicketReference repository="" revision="31388"
Use screen reader text instead of a title attribute in comments_popup_link
To better understand screen reader text, check out
https://make.wordpress.org/accessibility/2015/02/09/hiding-text-for-
screen-readers-with-wordpress-core/
Screen Reader text improves the user experience for screen reader users.
It provides additional context for links, document forms and other pieces
of a page that may exist visually, but are lost when looking only at the
html of a site. This does change the output of comments_popup_link if you
don't pass in values for $zero, $one, $more or $none. Theme authors can
and should style <code>.screen-reader-text</code> in ways that are
recommended in the above article to hide it visually.
Props joedolson
Fixes #26553
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26553#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list