Feature to add the "title" attribute to anchors (for HTML accessibility)
lomz - November 17, 2008 - 09:36
| Project: | Link |
| Version: | 6.x-2.8 |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | jcfiala |
| Status: | needs review |
| Issue tags: | accessibility |
Description
Would it be possible to implement an extra text-field in the link-field so that I can set title="" in addition to >link-text and href=""?

#1
I'd like to know this too, seems to me of primary importance from an accessibility point of view1
#2
+1
#3
Yes, it would be great !
#4
I need this functionality as well. Any plans? Can anyone point me in the right direction to start?
#5
Any progress?
#6
Hi, I needed that feature (for a standard HTML and accessibility reasons) and I implemented it! :)
Try and review this patch!
Would you like to say "thanks" to me? send me a beer! ;)
#7
#8
How do I use your patch?
(After having added it successfully, of course...)
#9
go to your widget options, at the bottom you'll find the "HTML link title" setting.
For now it's really simple. it's a widget-setting, not an instance data. So you'll provide a text for all fields (you can use also tokens).
Regards
#10
So what text do I provide?
#11
adding accessibility tag
#12
@lomz: my use-case is pretty simple: I have a page that represents an "Association" webpage. Page owner can set its own external web url with Link field. Note that I'm using Tokens module.
So I type in my widget "html title" this string:
"Visit the [title] website"
In my document the (single) link will have the html-title setted to (for the page "MyAssociationNode") the following text automatically displayed:
"Visit the MyAssociationNode website"
Hope this helps
#13
Thanks, will test
#14
This was a wrong comment, sorry guys, greetings, Martijn
#15
Has this feature been added? I upgraded to link 2.8 for 6.x but, I still cannot add the title tags anywhere. I need this because my content will not display properly unless my views Style is Unformatted, and my Row Style is Fields so I can't use content templates to achieve this another way.
Really need some help on this.
Cheers
- Jared
#16
Just for clarification, adding a title attribute isn't necessarily going to increase the accessibility of a link.
Most assistive technology users don't enable the reading of title attributes as they usually aren't helpful.
Often the information in them is redundant.
#17
In my case the information contained within the title attribute tag for the link must be included because it is required for vision impaired users who use screen readers, the information is relevant to the content I'm linking to.
This is a very basic feature of any link, and I don't understand why it can't be specified when adding the link name and link url.
I'm really struggling to get this issue resolved.
Cheers
- Jared
#18
I'm not blind but my staff person who is did question the logic of inserting title tags for vision impaired users.
What standard are you trying to reach? If it's WCAG 2.0 then I don't think that title tags are the right approach either.
#19
Though, I'm not exactly sure what standard is trying to be achieved here, I have been instructed that they MUST contain these title tags.
I am only trying to comply with what I have been required to do.
Cheers
- Jared
#20
I'm planning to put a little time in on link this weekend, and I'll have a look at this patch and see about including it on the 2.9.
#21
Might be worth asking why.
As you can see in this issue here, there can also be problems with adding titles to links if they don't add useful information.