[wp-trac] [WordPress Trac] #26557: Remove title attributes: category-template.php
WordPress Trac
noreply at wordpress.org
Thu Dec 12 19:08:22 UTC 2013
#26557: Remove title attributes: category-template.php
---------------------------+------------------------------
Reporter: joedolson | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Accessibility | Version:
Severity: normal | Resolution:
Keywords: |
---------------------------+------------------------------
Comment (by joedolson):
Most of these title attributes are nothing more than elaborations of the
implied intent of the normal link text, e.g. "View all posts in
'category'". There are a couple of exceptions - one, in start_el(), using
the category description as a title attribute, and the other in the
wp_generate_tag_cloud(), which adds detail information including the
number of posts in that tag to the title attribute.
While the title attribute may not be the optimal way of presenting the
information, themes would be able to expose it via JS if needed, and it is
adding value to the link text, so I've left them in this patch.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/26557#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list