Add handling for required epub accessibility metadata in OPF template #248
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 ebookVerified on staging; see PR in
orm-epubrenderer
.