agregar comentario sobre srcset y no incluir en reporte #3
This commit is contained in:
parent
aad90e66c0
commit
30b41a6811
1 changed files with 2 additions and 0 deletions
|
@ -60,6 +60,8 @@ function recurseElement(page: Page, el: Element) {
|
||||||
if (["audio", "video", "img", "source", "iframe"].includes(el.name)) {
|
if (["audio", "video", "img", "source", "iframe"].includes(el.name)) {
|
||||||
if (el.attribs.src) {
|
if (el.attribs.src) {
|
||||||
checkUrl(page, el, el.attribs.src);
|
checkUrl(page, el, el.attribs.src);
|
||||||
|
} else if (el.attribs.srcset) {
|
||||||
|
// TODO: implementar srcset #3
|
||||||
} else {
|
} else {
|
||||||
report.things.push({
|
report.things.push({
|
||||||
type: "media-no-src",
|
type: "media-no-src",
|
||||||
|
|
Loading…
Reference in a new issue