diff --git a/src/main/java/com/adobe/epubcheck/vocab/AccessibilityVocab.java b/src/main/java/com/adobe/epubcheck/vocab/AccessibilityVocab.java index fbcce5431..1bdd29aa3 100644 --- a/src/main/java/com/adobe/epubcheck/vocab/AccessibilityVocab.java +++ b/src/main/java/com/adobe/epubcheck/vocab/AccessibilityVocab.java @@ -15,6 +15,7 @@ public static enum META_PROPERTIES { CERTIFIED_BY, CERTIFIER_CREDENTIAL, + EXEMPTION } public static enum LINKREL_PROPERTIES diff --git a/src/test/resources/epub-accessibility/accessibility.feature b/src/test/resources/epub-accessibility/accessibility.feature index be6f1abfb..7b84fcfdc 100644 --- a/src/test/resources/epub-accessibility/accessibility.feature +++ b/src/test/resources/epub-accessibility/accessibility.feature @@ -23,3 +23,7 @@ Feature: EPUB 3 — Accessibility Scenario: Verify an 'a11y:certifierCredential' property can be defined as a link When checking file 'link-rel-a11y-certifierCredential-valid.opf' Then no errors or warnings are reported + + Scenario: Allow using the 'a11y:exemption' property in package metadata + When checking file 'metadata-a11y-exemption-valid.opf' + Then no errors or warnings are reported diff --git a/src/test/resources/epub-accessibility/files/metadata-a11y-exemption-valid.opf b/src/test/resources/epub-accessibility/files/metadata-a11y-exemption-valid.opf new file mode 100644 index 000000000..4f1588774 --- /dev/null +++ b/src/test/resources/epub-accessibility/files/metadata-a11y-exemption-valid.opf @@ -0,0 +1,19 @@ + + + + Title + en + NOID + 2019-01-01T12:00:00Z + + none + eaa-microenterprise + + + + + + + +