Skip to content

Commit 9c7334c

Browse files
committedFeb 7, 2025·
fix a11y test
1 parent de610d7 commit 9c7334c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎pkg/parser/epub/metadata_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ func TestMetadataEPUB2Accessibility(t *testing.T) {
323323
}
324324
e.Features = []manifest.A11yFeature{manifest.A11yFeatureStructuralNavigation, manifest.A11yFeatureAlternativeText}
325325
e.Hazards = []manifest.A11yHazard{manifest.A11yHazardMotionSimulation, manifest.A11yHazardNoSoundHazard}
326-
e.Exemptions = []manifest.A11yExemption{manifest.A11yExemptionEAAMicroenterprise, manifest.A11yExemptionEAAFundamentalAlteration}
326+
e.Exemptions = []manifest.A11yExemption{manifest.A11yExemptionEAAMicroenterprise, manifest.A11yExemptionEAAFundamentalAlteration, manifest.A11yExemptionEAADisproportionateBurden}
327327
assert.Equal(t, &e, m.Accessibility)
328328
assert.Nil(t, m.OtherMetadata["accessibility"])
329329
}
@@ -355,7 +355,7 @@ func TestMetadataEPUB3Accessibility(t *testing.T) {
355355
}
356356
e.Features = []manifest.A11yFeature{manifest.A11yFeatureStructuralNavigation, manifest.A11yFeatureAlternativeText}
357357
e.Hazards = []manifest.A11yHazard{manifest.A11yHazardMotionSimulation, manifest.A11yHazardNoSoundHazard}
358-
e.Exemptions = []manifest.A11yExemption{manifest.A11yExemptionEAAMicroenterprise, manifest.A11yExemptionEAAFundamentalAlteration}
358+
e.Exemptions = []manifest.A11yExemption{manifest.A11yExemptionEAAMicroenterprise, manifest.A11yExemptionEAAFundamentalAlteration, manifest.A11yExemptionEAADisproportionateBurden}
359359
assert.Equal(t, &e, m.Accessibility)
360360
assert.Nil(t, m.OtherMetadata["accessibility"])
361361
}

0 commit comments

Comments
 (0)
Please sign in to comment.