[wp-trac] [WordPress Trac] #24766: Title attributes galore. They serve no useful purpose.
WordPress Trac
noreply at wordpress.org
Thu Jul 18 02:32:54 UTC 2013
#24766: Title attributes galore. They serve no useful purpose.
-----------------------------------+-----------------------------
Reporter: karlgroves | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Accessibility | Version:
Severity: normal | Resolution:
Keywords: needs-patch 3.7-early |
-----------------------------------+-----------------------------
Comment (by sabreuse):
[http://core.trac.wordpress.org/attachment/ticket/24766/24766.diff
24766.diff] is a first pass at cleaning up most of these, with the
following exceptions:
* the_author_posts_link() - deprecated, so not much point in updating
* rss.php - deprecated
* wp_fullscreen_html() - this occurence is the tooltips on each of the
editor buttons; in this case, I feel they're true tooltips and not just
interface clutter, especially for some of the more cryptic editor icons
* get_adjacent_post_rel_link() - this function is used for search metadata
in links in the html head, not in the body
* _walk_bookmarks() - the title on bookmarks is opt-in, and is not
rendered (even as an empty attribute) unless the user has chosen to fill
it in on each individual bookmark. For that reason, it seems to me more
like a title tag that was deliberately added to user content.
* get_image_tag(), the_shortlink() - in both cases, the title is passed to
the function as an argument, and both functions are used in plugins. We
can't change the function calls without breaking things, and I don't feel
right leaving the args totally unused without at least a look at what a
better design might look like.
Bonus round! I found a few more title attributes that weren't included in
the original list.
* two instances in wp-login.php
* get_archives_link()
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24766#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list