I am making my work site Accessible for all users as I look after a financial services site, and all people need to be able to access it. When a screen reader reads link text its reading out the full url rather than the link. This can be overcome by using the title tag in the ahref reference and a little alt tag appears when you mouse over the link. My question is will i be spamming by using the title tag up to 10 times in one page for different keywords(text links) and if i am is there an alternative html tag i can use so screen readers dont read out the full URL?
If you were to use the title attribute honestly to produce tooltips for visual agents and as possible hints for screen readers then you wouldn't expect it to be treated as spam.
At the end of the day if you do something purely for your users then its pretty unlikely that it would be considered spam by a real person.
Of course this all assumes that the search engines index the title arrtibute text which is something I'm not too sure of - after all if they don't index it then they are very unlikely to use it to just spam!
Yes the title tag is indexed in the header i do know.
That is because that is where the title element [w3.org] (as opposed to the title attribute [w3.org]) belongs. And hopefully it will be the content of the title element, i.e. the text enclosed by the title start and end tag that gets indexed. ;)
I am just not sure if it will be indexed if its in the body as well.
Having the title element [w3.org] in the body is syntactically wrong. What you mean, however, is the title attribute [w3.org]. Here is what the W3C has to say about the title attribute:
Unlike the TITLE element, which provides information about an entire document and may only appear once, the title attribute may annotate any number of elements. Please consult an element's definition to verify that it supports this attribute.