File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -283,9 +283,9 @@ const (
283
283
// The work includes an index to the content.
284
284
A11yFeatureIndex A11yFeature = "index"
285
285
286
- // The work includes equivalent print page numbers. This setting is most commonly used
287
- // with ebooks for which there is a print equivalent .
288
- A11yFeaturePrintPageNumbers A11yFeature = "printPageNumbers "
286
+ // The resource includes a means of navigating to static page break locations.
287
+ // The most common way of providing page navigation in digital publications is through a page list .
288
+ A11yFeaturePageNavigation A11yFeature = "pageNavigation "
289
289
290
290
// The reading order of the content is clearly defined in the markup
291
291
// (e.g., figures, sidebars and other secondary content has been marked up to allow it
Original file line number Diff line number Diff line change @@ -114,13 +114,13 @@ func inferA11yMetadataFromManifest(mf manifest.Manifest) *manifest.A11y {
114
114
}
115
115
}
116
116
117
- if mf . TableOfContents != nil && len (mf .TableOfContents ) > 0 {
117
+ if len (mf .TableOfContents ) > 0 {
118
118
addFeature (manifest .A11yFeatureTableOfContents )
119
119
}
120
120
121
121
if mf .ConformsTo (manifest .ProfileEPUB ) {
122
122
if _ , hasPageList := mf .Subcollections ["pageList" ]; hasPageList {
123
- addFeature (manifest .A11yFeaturePrintPageNumbers )
123
+ addFeature (manifest .A11yFeaturePageNavigation )
124
124
}
125
125
126
126
for _ , link := range allResources {
Original file line number Diff line number Diff line change @@ -295,7 +295,7 @@ func TestInferFeaturePageList(t *testing.T) {
295
295
},
296
296
ReadingOrder : []manifest.Link {newLink (mediatype .HTML , "html" )},
297
297
}
298
- assertFeature (t , m , manifest .A11yFeaturePrintPageNumbers )
298
+ assertFeature (t , m , manifest .A11yFeaturePageNavigation )
299
299
}
300
300
301
301
// If the publication contains any resource with MathML (check for the presence
You can’t perform that action at this time.
0 commit comments