mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-27 10:46:33 +00:00
EPUB writer: change default accessibilityFeatures.
Don't include ARIA and MathML in general; they won't apply for epub2 or documents without math.
This commit is contained in:
@@ -6857,8 +6857,6 @@ The following fields are recognized:
|
||||
Defaults to
|
||||
|
||||
- "alternativeText"
|
||||
- "ARIA"
|
||||
- "MathML"
|
||||
- "readingOrder"
|
||||
- "structuralNavigation"
|
||||
- "tableOfContents"
|
||||
|
||||
@@ -413,9 +413,8 @@ metadataFromMeta opts meta = EPUBMetadata{
|
||||
accessibilityFeatures =
|
||||
case lookupMeta "accessibilityFeatures" meta of
|
||||
Just (MetaList xs) -> map metaValueToString xs
|
||||
_ -> ["alternativeText","ARIA","MathML",
|
||||
"readingOrder", "structuralNavigation",
|
||||
"tableOfContents"]
|
||||
_ -> ["alternativeText", "readingOrder",
|
||||
"structuralNavigation", "tableOfContents"]
|
||||
accessibilityHazards =
|
||||
case lookupMeta "accessibilityHazards" meta of
|
||||
Just (MetaList xs) -> map metaValueToString xs
|
||||
|
||||
Reference in New Issue
Block a user