The [title attribute](http://www.w3.org/TR/html4/struct/global.html#h-7.4.3 "Further reading, Title Attribute definition from the W3C, 'The Global Structure of an HTML document'") is something that's been around longer than most of us can remember and its become one of the most commonly used, if not abused, attributes.
As far back as I care to look (4.7, 5 & 6) ) Drupal's default node template has included a title attribute in the node title link (the one that normally appears on teasers wrapped in an <h2> heading). [Drupal 7](http://cvs.drupal.org/viewvc.py/drupal/drupal/modules/node/node.tpl.php?...) hasn't learnt from this past mistake either.
For clarities sake lets take a quick peek at the what I'm talking about, the following code is from Drupal 6 node.tpl.php. For those who don't know, `$title` is the node title, e.g. for this node its "*Why title = $title is Bad*".
<h2><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2>This is a poor implementation of the title attribute and rallies against its original intent—to provide *additional* information. That may be so, but surely the current implementation isn't *that* bad, more like a harmless addition. I beg to differ.
## 1. Its Redundant
We simply don't need it.
## 2. Screen readers configured to read title attributes will repeat the title
Which is annoying. Also see 1.
As far back as 1998 its was suggested to use the title attribute to add details about the kind of information to be found on the destination page and how it relates to the anchor text and to the context of the current page [^1].
Why then is Drupal core not doing this, or at least, simply [omit the needless](http://www.bartleby.com/141/strunk5.html#13) attribute. And why are so many [contributed](http://drupal.org/project/zen) [starter](http://drupal.org/project/framework) [themes](http://drupal.org/project/clean) [following](http://drupal.org/project/foundation) [suit](http://drupal.org/project/tendu). [Of](http://drupal.org/project/genesis) [course](http://drupal.org/project/basic), [not](http://drupal.org/project/atck) [everyone](http://drupal.org/project/beginning) [is](http://drupal.org/project/flexible) [playing](http://drupal.org/project/hunchbaque) [along](http://drupal.org/project/bluetrip).
So how about [reading a little](http://diveintoaccessibility.org/day_14_adding_titles_to_links.html) more about the title attribute, and perhaps discuss, and maybe even post this as an issue against Drupal 7.
Posted issue/patch to remove the title attribute in Drupal 7 - [http://drupal.org/node/445530](http://drupal.org/node/445530).
Update: [Patch committed to HEAD](http://drupal.org/node/445530#comment-1530658). Yay!
[^1]: [http://www.useit.com/alertbox/980111.html](http://www.useit.com/alertbox/980111.html)
Comments
You know what annoys me more?
Have you noticed how since Drupal 6 each menu item you create from a node gets an automatic title attribute? So hovering over 'about us' will give you a tooltip with 'about us'. Apart from being redundant and causing an echo with screen readers, it also has the affect of ruining drop down menus.
I'm not sure if this has been addressed in Drupal 7 yet, it seems related to the issue you started.
@Rowanw I updated an old
@Rowanw I updated an old issue as a feature request for D7 - http://drupal.org/node/378064#comment-1523102
I fully agree with your point, it is indeed bloody annoying having those infernal tooltips created, I hate em!
Note that this could easily be a duplicate as finding issues can be a bit of needle/haystack affair.
any developments
So has this been addressed in Drupal 7?
yes its been addressed in D7,
yes its been addressed in D7, quite a while ago when the tpls went through early changes it was removed. If you see in the article at the bottom is says the patch was committed to head.