I recently tested an accessibility issue and found that the way we were addressing some accessibility issues did not match up with the WCAG recommendations.
I have created a new issue for it (http://tracker.moodle.org/browse/MDL-39079) and wanted to raise this discussion in the forums.
The summary is that I am seeing that some developers seem believe that adding a title attribute to a link provides more information for screen readers - but this does not seem to be the case.
<a href="..." title="View user profile">Bill</a>
is read with a screen reader as:
link Bill
and the title is ignored (If anyone could confirm/deny this behaviour in Jaws that would be awesome).
It seems that the best way to do this (and support translations properly) is:
<a href="..."><span class="accesshide">View user profile for Bill</span><span class="accessshow">Bill</span></a>
http://www.w3.org/TR/2012/NOTE-WCAG20-TECHS-20120103/C7
I would like to confirm/clarify this approach in our dev docs and convert MDL-37079 into a meta for fixing our incorrect uses in core.
I'm also hoping for lots of discussion from any accessibility experts who might be reading (or listening).