standardebooks / tools

The Standard Ebooks toolset for producing our ebook files.
Other
1.42k stars 125 forks source link

Improve our accessibility metadata #683

Closed robinwhittleton closed 5 months ago

robinwhittleton commented 6 months ago

Some suggestions from @acabal that I’ll investigate:

  1. Add accessibility compliance statements to onix.xml (see https://onix-codelists.io/codelist/196)
  2. Make sure that MathML accessibility compliance notes are stripped from compatible builds
  3. Review https://www.w3.org/TR/epub-a11y-11/ to see if there’s a better way of presenting our ePub accessibility compliance e.g.:
<meta
     property="dcterms:conformsTo"
     id="conf">
    EPUB Accessibility 1.1 - WCAG 2.1 Level AA
</meta>
robinwhittleton commented 5 months ago

This PR goes some way towards updating the accessibility metadata, but some other potential changes to discuss as well:

Thoughts?

acabal commented 5 months ago

Great, thanks.

Not sure about aria-label on endnotes. Presumably if a reading system sees that this is a noteref, it should announce it as such. I suppose aria-label makes it explicit but it's also more work for us and could override an otherwise preferred ereader default announcement.

Sure, you can review the website too!

robinwhittleton commented 5 months ago

OK, I’ll put together an accessibility page over the next few days. Once that’s done then there’ll be another ONIX PR: up to you whether you want to do a corpus update now and another after, or to wait for that.

robinwhittleton commented 5 months ago

I’ve added the MathML ONIX feature to all the books that needed it now.

acabal commented 5 months ago

Great, thanks!