C
Chris Beall
Consider the following HTML fragment:
<a href="one/html"><img src="http:some.url" alt=""><br>One</a>
Both the image and the text label link to the same place. The alt
keyword is present to pacify the W3C HTML 4.01 strict validator, but is
empty, which Bobby objects to.
It seems to me that if I code alt="One", a screen reader would reach the
link and say, "One One", which is confusing, rather than just "One"
which isn't (assuming 'One' is a more meaningful label).
Assuming that my intent is to give the page the best possible
accessibility rather than to obtain Bobby certification, which is the
best approach?
Chris Beall
<a href="one/html"><img src="http:some.url" alt=""><br>One</a>
Both the image and the text label link to the same place. The alt
keyword is present to pacify the W3C HTML 4.01 strict validator, but is
empty, which Bobby objects to.
It seems to me that if I code alt="One", a screen reader would reach the
link and say, "One One", which is confusing, rather than just "One"
which isn't (assuming 'One' is a more meaningful label).
Assuming that my intent is to give the page the best possible
accessibility rather than to obtain Bobby certification, which is the
best approach?
Chris Beall