daisy / ace

Ace by DAISY, an Accessibility Checker for EPUB
MIT License
76 stars 22 forks source link

Extract outlines as JSON structures #89

Open laudrain opened 7 years ago

laudrain commented 7 years ago

When a heading level is missing, it is signaled in the ace.json file in the text of HTML "Headings outline" fort the report: <span class=\"toc-missing\">Missing heading h3

As it is poorly structured, this kind of error will be difficult to extract from the json...

rdeltour commented 7 years ago

this kind of error will be difficult to extract from the json...

Yeah, the outlines are primarily used for manual inspection. Now, I can see how having them as structured JSON data could be useful.