When using taxonomy, the description of a term is (by definition) a valuable complement to the term.
This is certainly the reason why (when it exists) it appears in links tags as <a href="/taxonomy/term/75" rel="tag" title="this a description">Example</a>. The description is displayed as an helpful "tooltip" when the mouse cusor pass over the term.
But the title attribute is not added systematicaly. It exists on /node/n pages but not on /admin/taxonomy/n (list of all the terms of a given vocabulary) for example.
I have cases (I hope I am not the only one) where I want to keep the term short (one or two words in general). I use the description to help when there could be ambiguities, when the context may not help (name of the author, node title, first lines of the body....).
For example I would like to have a vocabulary for people identified only by first names (it is more friendly). For example Peter rather than Peter Jones, Long Street, San Francisco. Readers interested in other articles about this same Peter just click on the link (without even needing the description). But the author has to choose may be between different Peter and thus needs the description to decide. Unfortunatly the tooltip does not show in the list of terms. It does not show either in dropdown selects, nor in the dropdown list result of an autocomplete.
For the select one could add easily the title attribute in each option as in <option>value="31" title="this is the description">Example</option>. FireFox will display a tooltip. In IE6 title is ignored but this is not a reason for not adding it in the option tag! It may come in IE7.
For the autocomplete this is a bit more complicated. The javasript has to be improved to make a tooltip appearing. I don't know javascript and I only believe it's possible.
It would be even better if a vocabulary option could decide or not if the description has to be searched also by the autocomplete (Typing San Francisco would retrieve Peter in the example above). But may be this the subject for another feature request.
Do you think all this reasonnable and could be implemented?
Comments
Comment #1
LAsan commentedBump.
Comment #2
aren cambre commentedsubscribe
Comment #3
sun.core commentedComment #4
mgiffordI think this issue should be closed as it's had no activity & for IE7. However, if I'm wrong, please feel free to re-open it.