You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since we've opted to output a generic statement regardless of the exemption, there's no need to check for all three EAA exemptions separately. The test could be reduced to one variable that just checks if the exemption property is set.
LET exemption be the result of calling check for node on package_document, /package/metadata/meta[@property="a11y:exemption"].
and
IF exemption:
THEN display "Claims an accessibility exemption in some jurisdictions"
Then we wouldn't have to modify the algorithm every time a new exemption comes along.
(I expect this only works for the epub technique, though.)
The text was updated successfully, but these errors were encountered:
Although for the onix test, it could still be one variable that checks for any of the three values:
LET exemption be the result of calling check for node on onix, /onix:ONIXMessage/onix:Product/onix:DescriptiveDetail/onix:ProductFormFeature[onix:ProductFormFeatureType = "09" and onix:ProductFormFeatureValue = ("75", "76", "77")]
Although for the onix test, it could still be one variable that checks for any of the three values:
LET exemption be the result of calling check for node on onix, /onix:ONIXMessage/onix:Product/onix:DescriptiveDetail/onix:ProductFormFeature[onix:ProductFormFeatureType = "09" and onix:ProductFormFeatureValue = ("75", "76", "77")]
Since we've opted to output a generic statement regardless of the exemption, there's no need to check for all three EAA exemptions separately. The test could be reduced to one variable that just checks if the exemption property is set.
and
Then we wouldn't have to modify the algorithm every time a new exemption comes along.
(I expect this only works for the epub technique, though.)
The text was updated successfully, but these errors were encountered: