-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New advanced read aloud test book (#110)
* Update introduction Remove reference to additional guidance document * Language switching Add new test for switching TTS when the language changes in the content. * Update Read_aloud_tests.xhtml * Update Read_aloud_tests.xhtml Fix duplicate identifier * Alt text support Add a test for announcing alt text of images * Improve test language Changed the test instructions for the language test to hopefully make it clearer and more robust. * Update package.opf Comment spine entry to fix error reported by epubcheck * Remove test #710 Remove test #710 "The emphasis or highlight colour can be changed" * Remove test #550 Remove test #550 "Text to Speech Changes Languages Automatically" * Add test #400 Add test #400 "Change Read Aloud reading voice" * Fix a11y metadata Add schema:accessibilityFeature and schema:accessibilityHazard entries * Add xml:lang to psckage file Resolve Ace error * New advanced read aloud test book * Fix typos, MathML alttext --------- Co-authored-by: Marisa DeMeglio <[email protected]>
- Loading branch information
1 parent
0e00c2b
commit 771a034
Showing
11 changed files
with
525 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,189 @@ | ||
@charset "utf-8"; | ||
@namespace epub "http://www.idpf.org/2007/ops"; | ||
|
||
h1 { color: rgb(0,90,156); } | ||
h2 { font-size: 140%;} | ||
h3 { font-size: 130%; } | ||
h4 { font-size: 120%; } | ||
|
||
.ctest h2, .ctest h3, .ctest h4, .ctest h5, .otest h2, .otest h3, .otest h4, .otest h5 { | ||
font-size: 120%; | ||
color: rgb(0,0,0); | ||
} | ||
|
||
/* accessibility classes */ | ||
/* ftest: fundamental accessibility test */ | ||
/* atest: advanced accessibility test */ | ||
.ftest h2, .ftest h3, .ftest h4, .ftest h5, .atest h2, .atest h3, .atest h4, .atest h5 { | ||
font-size: 120%; | ||
color: rgb(0,0,0); | ||
} | ||
|
||
|
||
body { | ||
font-family: arial, helvetica, sans-serif; | ||
color: black; | ||
background: white; | ||
} | ||
|
||
.test-id, .demo-ctest { | ||
font-size: 80%; | ||
font-style: normal; | ||
color:navy; | ||
margin-right: 1em; | ||
padding: 0.3em; | ||
} | ||
|
||
.ctest, .otest { | ||
margin-bottom: 1em; | ||
padding-left: 1em; | ||
} | ||
|
||
/* accessibility classes */ | ||
.ftest, .atest { | ||
margin-bottom: 1em; | ||
padding-left: 1em; | ||
} | ||
|
||
|
||
.ctest { | ||
border: 1px solid gray; | ||
margin-bottom: 1em; | ||
padding-left: 1em; | ||
} | ||
|
||
.otest { | ||
border: 1px dotted gray; | ||
margin-bottom: 1em; | ||
padding-left: 1em; | ||
} | ||
|
||
/* accessibility class */ | ||
.ftest { | ||
border: 1px solid gray; | ||
margin-bottom: 1em; | ||
padding-left: 1em; | ||
} | ||
/* accessibility class */ | ||
.atest { | ||
border: 1px dotted gray; | ||
margin-bottom: 1em; | ||
padding-left: 1em; | ||
} | ||
|
||
|
||
.nature { | ||
display: block; | ||
padding-right: 1em; | ||
padding-left: 0.5em; | ||
font-size: 50%; | ||
} | ||
|
||
.ctest .nature { | ||
color: rgb(255,0,0); | ||
} | ||
|
||
.otest .nature { | ||
color: rgb(0,0,255); | ||
} | ||
|
||
/* accessibility class */ | ||
.ftest .nature { | ||
color: rgb(255,0,0); | ||
} | ||
/* accessibility class */ | ||
.atest .nature { | ||
color: rgb(0,0,255); | ||
} | ||
|
||
|
||
dl.info dt { | ||
font-weight: bold; | ||
margin-bottom: 1em; | ||
} | ||
|
||
nav#toc ol { | ||
list-style-type: none; | ||
} | ||
|
||
nav a { | ||
text-decoration:none; | ||
color:black; | ||
} | ||
|
||
.eval { | ||
font-weight:bold; | ||
} | ||
|
||
.eval:before { | ||
content:"→"; | ||
} | ||
|
||
.conditional { | ||
font-style: italic; | ||
} | ||
|
||
table, th, td{ | ||
border: 1px solid black; | ||
border-collapse:collapse; | ||
padding:15px; | ||
|
||
} | ||
|
||
aside[epub|type~="sidebar"] | ||
{ padding: 0.5em; | ||
margin-left: 1em; | ||
margin-right: 1em; | ||
width: 30%; | ||
background-color: rgb(240,240,240); | ||
float:left; | ||
border: 0.5px solid gray; | ||
} | ||
|
||
p.sidebartype | ||
{ padding: 0.5em; | ||
margin-left: 1em; | ||
margin-right: 1em; | ||
width: 30%; | ||
background-color: rgb(240,240,240); | ||
float:left; | ||
|
||
} | ||
|
||
aside[epub|type~="footnote"] | ||
{ | ||
font-size: 80%; | ||
font-style: italic; | ||
color:navy; | ||
|
||
margin-left: 1em; | ||
margin-right: 1em; | ||
padding: 0.5em; | ||
clear:both; | ||
} | ||
|
||
p.sample { | ||
width: 60%; | ||
float:right; | ||
margin-left: 1em; margin-right: 1em; | ||
} | ||
|
||
|
||
figure.image { | ||
margin-bottom: 30px; | ||
} | ||
|
||
figure.image figcaption { | ||
font-size: medium; | ||
margin-top: inherit !important; | ||
margin-bottom: inherit !important; | ||
} | ||
|
||
|
||
.sample-text { | ||
overflow:hidden; | ||
margin-bottom: 1em; | ||
padding-left: 1em; | ||
} | ||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<package xmlns="http://www.idpf.org/2007/opf" version="3.0" unique-identifier="uid" xml:lang="en"> | ||
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/"> | ||
<dc:identifier id="uid">com.github.epub-testsuite.epub30-test-0370</dc:identifier> | ||
<dc:title>Advanced Accessibility Tests: Read Aloud</dc:title> | ||
<dc:description>These tests are for read aloud features valued by people with print disabilities but withou wide support in reading apps.</dc:description> | ||
<!-- repeat creator element for all contributors --> | ||
<dc:creator>DAISY Consortium</dc:creator> | ||
<dc:language>en</dc:language> | ||
<dc:subject>read-aloud</dc:subject> | ||
<meta property="dcterms:modified">2024-02-08T00:00:00Z</meta> | ||
<meta property="schema:accessibilitySummary">The publication contains structural navigation. The publication meets WCAG 2.0 Level AA.</meta> | ||
<meta property="schema:accessMode">textual</meta> | ||
<meta property="schema:accessMode">visual</meta> | ||
<meta property="schema:accessModeSufficient">textual</meta> | ||
<meta property="schema:accessibilityFeature">structuralNavigation</meta> | ||
<meta property="schema:accessibilityFeature">alternativeText</meta> | ||
<meta property="schema:accessibilityFeature">MathML</meta> | ||
<meta property="schema:accessibilityHazard">noFlashingHazard</meta> | ||
<meta property="schema:accessibilityHazard">noSoundHazard</meta> | ||
<meta property="schema:accessibilityHazard">noMotionSimulationHazard</meta> | ||
<meta property="schema:version">1.0.0</meta> | ||
</metadata> | ||
<manifest> | ||
<!-- css --> | ||
<item href="css/base.css" media-type="text/css" id="css"/> | ||
<!-- cover --> | ||
<item id="cover_jpg" properties="cover-image" href="images/cover.jpg" media-type="image/jpeg"/> | ||
<item id="cover" href="xhtml/cover.xhtml" media-type="application/xhtml+xml"/> | ||
<!-- images --> | ||
<item href="images/mobydick.jpg" media-type="image/jpeg" id="moby"/> | ||
<!-- frontmatter --> | ||
<item href="xhtml/nav.xhtml" id="nav" media-type="application/xhtml+xml" properties="nav"/> | ||
<item href="xhtml/front.xhtml" id="front" media-type="application/xhtml+xml"/> | ||
<!-- bodymatter --> | ||
<!-- xhtml --> | ||
<item href="xhtml/introduction.xhtml" id="introduction" media-type="application/xhtml+xml"/> | ||
<item href="xhtml/advanced_read_aloud_tests.xhtml" id="xhtml-001" properties="mathml" media-type="application/xhtml+xml"/> | ||
</manifest> | ||
<spine> | ||
<itemref idref="cover"/> | ||
<itemref idref="front"/> | ||
<!-- <itemref idref="nav" linear="no"/>--> | ||
<itemref idref="introduction"/> | ||
<itemref idref="xhtml-001"/> | ||
</spine> | ||
</package> |
Oops, something went wrong.