Bugzilla – Bug 1016
picture-source checks are applied on video-source also
Last modified: 2015-02-15 17:54:42 CET
<video> <source src="foo"> <img src="bar" srcset="baz 2x" alt=""> </video> Error: A source element that has a following sibling source element or img element with a srcset attribute must have a media attribute and/or type attribute. Should only run picture-source checks if the parent is a picture.
Thanks for catching this. Have added it to the TODO list
https://github.com/validator/validator/commit/cd9f14ebc9d10ad41f3a008e022bfbbeccdd5074