From 30b41a6811e51c3f1c7387865e0769ea1e29d837 Mon Sep 17 00:00:00 2001 From: Nulo Date: Fri, 31 Mar 2023 20:52:35 -0300 Subject: [PATCH] agregar comentario sobre srcset y no incluir en reporte #3 --- src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.ts b/src/index.ts index ad98409..e1dac9e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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",