-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alternative text for images #5
Comments
From Paolo.Pr...@gmail.com on March 01, 2012 03:26:25 Definitely this should be fixed. gsnedders' tool gets it right, and so do screen readers and search engines I suppose. |
From rumor...@gmail.com on March 19, 2012 08:38:55 Hi, You can add this function to the script, and replace "a.textContent" with getText(a). This function extracts the text from the elements and alt attributes from img, area and input type image.
Regards, |
Will this ever get fixed? |
PRs welcome. |
There you go :-) |
From alg4net on April 12, 2011 19:32:26
The following snippet
<h1><img src=logo.png alt="My Website"></h1>
Results in a "No text content inside H1", but the alt attribute shouldn't be used in that case?
Great tool by the way, helps me a lot!
Original issue: http://code.google.com/p/h5o/issues/detail?id=5
The text was updated successfully, but these errors were encountered: