ApoorvSaxena / ApoorvSaxena/lozad.js

Validation W3C

Đang mở
#157 9 bình luận 0 reaction 1 người được giao Được @kashish609jain nhận Xem trên GitHub
enhancement good first issue Hacktoberfest
Ngôn ngữ chính
JavaScript
Star
7.5k
Fork
435
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## Expected Behavior
Running validator https://validator.w3.org on basic `` elements as per setup config should not result in errors.

## Current Behavior
Currently when running validator on:

```






```

Validator will give error:
`Element img is missing required attribute src.`

## Possible Solution
Setting up `` tag with `` results in
`Element noscript not allowed as child of element picture in this context.`

When adding `` tag without `` surrounding it, html parser will simply output 2 images...

## Steps to Reproduce (for bugs)
Run validator on any website with lozad setup

## Context
Trying to get a clean sheet from validator.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.