publ-a11y
publ-a11y copied to clipboard
Ordering of epub_accessibility_10 and epub_accessibility_11
In the documentation for the ONIX techniques (https://www.w3.org/community/reports/publishingcg/CG-FINAL-onix-techniques-20250422/#conformance-group) it has the following logic:
IF epub_accessibility_10:
THEN display " EPUB Accessibility 1.0"[ID: conformance-details-epub-accessibility-1-0].
ELSE IF epub_accessibility_11:
THEN display " EPUB Accessibility 1.1"[ID: conformance-details-epub-accessibility-1-1].
Given the logic as it is written now, it's possible for an ONIX file to contain the necessary conditions for conformance-details-epub-accessibility-1-1, but be given conformance-details-epub-accessibility-1-0 instead, because 1.0 is being checked first. That condition is the following two ProductFormFeature elements:
/ONIXMessage/Product/DescriptiveDetail/ProductFormFeature[ProductFormFeatureType = "09" and ProductFormFeatureValue = "04"]
/ONIXMessage/Product/DescriptiveDetail/ProductFormFeature[ProductFormFeatureType = "09" and ProductFormFeatureValue = "03"]
The value of 04 should correspond to conformance-details-epub-accessibility-1-1, while the value of 03 corresponds to a number of other techniques: conformance-details-epub-accessibility-1-0, conformance-aa, conformance-details-level-aa, and conformance-details-wcag-2-0. My expectation was that in this case we would want conformance-details-epub-accessibility-1-1 to take priority over conformance-details-epub-accessibility-1-0, but that might be an incorrect assumption on my part. Is the ordering correct between those two techniques?