Closed pdehaan closed 7 years ago
Similarly, the eslint-plugin-jsx-a11y module noted there was an unclosed <p>
tag, and subsequently complained about a handful of <img>
tags that were lacking alt=""
attributes:
> jsx-a11y-test@1.0.0 test /Users/pdehaan/dev/tmp/del/jsx-a11y-test
> eslint .
/Users/pdehaan/dev/tmp/del/jsx-a11y-test/index.js
8:3 error img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/img-has-alt
13:3 error img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/img-has-alt
19:3 error img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/img-has-alt
24:5 error img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/img-has-alt
30:5 error img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/img-has-alt
35:5 error img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/img-has-alt
✖ 6 problems (6 errors, 0 warnings)
Unclosed <p>
tag was at ./content-src/experiments/no-more-404s.yaml:94.
@pdehaan you still on this one? I'm going to move to in progress
Seeing a few HTML validation errors via https://validator.w3.org/nu/#textarea for the no-more-404s.yaml
graduation_report
HTML:Error: Bad value 100% for attribute
width
on elementimg
: Expected a digit but saw%
instead. From line 21, column 3; to line 21, column 111Error: Bad value
auto
for attributeheight
on elementimg
: Expected a digit but sawa
instead. From line 21, column 3; to line 21, column 111Error: Bad value
100%
for attributewidth
on elementimg
: Expected a digit but saw%
instead. From line 27, column 3; to line 27, column 104Error: Bad value
auto
for attributeheight
on elementimg
: Expected a digit but sawa
instead. From line 27, column 3; to line 27, column 104Error: Bad value 100% for attribute width on element img: Expected a digit but saw % instead. From line 32, column 5; to line 32, column 103
Error: Bad value auto for attribute height on element img: Expected a digit but saw a instead. From line 32, column 5; to line 32, column 103
Error: Bad value 100% for attribute width on element img: Expected a digit but saw % instead. From line 38, column 5; to line 38, column 106
Error: Bad value auto for attribute height on element img: Expected a digit but saw a instead. From line 38, column 5; to line 38, column 106
Error: Bad value 100% for attribute width on element img: Expected a digit but saw % instead. From line 43, column 5; to line 43, column 106
Error: Bad value auto for attribute height on element img: Expected a digit but saw a instead. From line 43, column 5; to line 43, column 106