svenkreiss / html5validator

Command line tool to validate HTML5 files. Great for continuous integration.
MIT License
314 stars 34 forks source link

Bad value "doc-endnote" for attribute "role" on element "li". #73

Open capjamesg opened 3 years ago

capjamesg commented 3 years ago

This is the first time I'm submitting an issue on this repo. Apologies if I am missing something below.

I am receiving the following validation flag when I run the tool:

Bad value "doc-endnote" for attribute "role" on element "li".

There was a bug in w3/epubcheck that caused this error. This attribute was allowed on child <li> elements of a <ul> but not an <ol>. As far as I can tell, this has been fixed.

Am I misusing the html5validator tool or is this a bug?