/a3 wrote:
What's the point in that? Many screen readers would read that bit anyway.
What do you mean..?
[quote=""/a3"]"When encountering images that are missing an alt attribute, screen readers may provide what information they extract from the page content (such as file name or dimensions or location on the page) in an effort to provide SOME alternative to the user."
If alternative text is going to be done, it should at least be done properly.[/quote]
To the user or to the crawler? The user sees what the image represents and it doesnt need a name for it.
DavidIQ wrote:I think the only viable solution to this is to allow something like img="The alt text"
. In the absence of said property assignment there would be no reason to try and guess as to what it should be due to the reasons /a3 stated.
I think there is absolutely no need to bother making the img tag like this
img="The alt text"
.
Why would people bother to give a name to their image just to do something they dont see or use..... Which is the alt.. Maybe if you would add a title on the image at top might encourage them to name them........
But, all this can be done in php. Why load the language file in php to set the alt, when you could just make a few lines o php code that reads what the name of the image is and sets it as an alt..