Skip to content

Add handling for required epub accessibility metadata in OPF template #248

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

delfanbaum
Copy link

This commit adds a generic template for handling accessibility metadata passed in along with the HTMLBook file such that the following fields are included:

  • accessMode — a human sensory perceptual system or cognitive faculty necessary to process or perceive the content (e.g., textual, visual, auditory, tactile).

  • accessibilityFeature — features and adaptations that contribute to the overall accessibility of the content (e.g., alternative text, extended descriptions, captions).

  • accessibilityHazard — any potential hazards that the content presents (e.g., flashing, motion simulation, sound).

Also included (because it was easy), though not required:

  • accessModeSufficient – this is what is minimally required to use the ebook

Verified on staging; see PR in orm-epubrenderer.

This commit adds a generic template for handling accessibility metadata
passed in along with the HTMLBook file such that the following fields
are included:

* `accessMode` — a human sensory perceptual system or cognitive faculty
  necessary to process or perceive the content (e.g., textual, visual,
  auditory, tactile).

* `accessibilityFeature` — features and adaptations that contribute to
  the overall accessibility of the content (e.g., alternative text,
  extended descriptions, captions).

* `accessibilityHazard` — any potential hazards that the content
  presents (e.g., flashing, motion simulation, sound).

Also included (because it was easy), though not required:

* `accessModeSufficient` – this is what is minimally required to use the
  ebook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant