ApoorvSaxena / ApoorvSaxena/lozad.js

Validation W3C

Ouverte
#157 9 commentaires 0 réactions 1 personne assignée Réclamée par @kashish609jain Voir sur GitHub
enhancement good first issue Hacktoberfest
Langage dominant
JavaScript
Étoiles
7.5k
Forks
435
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

## 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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.