[wp-trac] [WordPress Trac] #26551: Remove title attributes: link-template.php
WordPress Trac
noreply at wordpress.org
Wed Dec 11 23:19:28 UTC 2013
#26551: Remove title attributes: link-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):
These have mostly been resolved. get_adjacent_post_rel_link() is a valid
use of the title attribute (in a <link> element), most others have been
removed.
The title attribute use in the_shortlink() is somewhat valid, since it
does provide more information about the link. And, since the_shortlink()
is used in themes, adding screen reader text is perhaps problematic, since
we can't guarantee that styles are applied for that.
My feeling is that this is less than ideal, but I don't really have an
alternate suggestion. Themes can implement this in a more accessible
manner, according to their own methods by replacing the link text, since
this is readily filterable. Probably should just be left as is, but I'm
open to second opinions with another idea.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/26551#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list