Have you ever wondered how Jaws handles link text?
Jaws has a hierarchy to the way it handles link text.
Code:
<a href="#">Edit</a>
Result:
Edit
Jaws reads "Edit this page link."
Jaws finds the link text, announces it is linking to "this page". This is poor link text. First, what are you editing? And second, Jaws uses the key word "edit" to announce an INPUT TYPE=TEXT as an "Edit" field.
Code:
<a href="#">Edit<img src="Donsbuddyicon.bmp" alt="Don's Picture"></a>
Result:
Edit![]()
Jaws reads "Edit this page link graphic"
Jaws finds the link text, announces it is linking to "this page" and then announces a graphic, but ignores it's alt attribute.
Code:
<a title="image title" href="#">Edit<img src="DonsBuddyIcon.bmp" alt="Don's Picture"></a>
Result:
Edit![]()
Jaws reads "Edit this page link graphic"
Jaws finds the link text, announces it is linking to "this page" and then announces a graphic, but ignores it's alt attribute and the title in the anchor.
Code:
<a "href="#"><img src="DonsBuddyIcon.bmp"></a>
Result:
![]()
Jaws reads "dot slash DonsBuddyIcon this page link graphic."
Without link text or an alt attribute in the IMG tag, Jaws will default to reading the src attribute
Code:
<a title="Don's buddy icon" "href="#"><img src="DonsBuddyIcon.bmp"></a>
Result:
![]()
Jaws reads "dot slash DonsBuddyIcon this page link graphic."
Without link text or an alt attribute in the IMG tag, Jaws will default to reading the src attribute. In this case Jaws ignores the Title attribute
Code:
<a title="Don's buddy icon" "href="#"></a>
Result:
Jaws reads "Don's buddy icon this page link.
I can't imagine why you would use an empty link, but that is about the only way to get an anchor title to be read by jaws.
Code:
<a title="Don's buddy icon" "href="#"><img src="DonsBuddyIcon.bmp"></a>
Result:
![]()
Jaws reads "dot slash DonsBuddyIcon this page link.
Again, the title in the anchor is ignored when there is an image.