Hello! According to [1] 'A conformance checker must report the lack of an alt attribute as an error unless [...]: The img element has a (non-conforming) generator-unable-to-provide-required-alt attribute whose value is the empty string.' However, when I feed the following HTML code to the validator, it reports two errors. <!doctype html> <html> <head> <meta charset="utf-8"> <title>Test</title> </head> <body> <img src="picture.jpg" generator-unable-to-provide-required-alt=""> </body> </html> The errors are: 'An img element must have an alt attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images.' (Which I did, obviously.) And: 'Attribute generator-unable-to-provide-required-alt not allowed on element img at this point.' (You don't say.) Shouldn't there be only a warning or did I miss anything? Thanks so much in advance. Best wishes, Jan [1] http://www.w3.org/html/wg/drafts/html/CR/embedded-content-0.html#guidance-for-conformance-checkersReceived on Friday, 30 August 2013 21:58:16 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:37 UTC