agregar comentario sobre srcset y no incluir en reporte #3

This commit is contained in:
Cat /dev/Nulo 2023-03-31 20:52:35 -03:00
parent aad90e66c0
commit 30b41a6811

View file

@ -60,6 +60,8 @@ function recurseElement(page: Page, el: Element) {
if (["audio", "video", "img", "source", "iframe"].includes(el.name)) {
if (el.attribs.src) {
checkUrl(page, el, el.attribs.src);
} else if (el.attribs.srcset) {
// TODO: implementar srcset #3
} else {
report.things.push({
type: "media-no-src",