Skip to content

Commit

Permalink
Merge pull request #414 from w3c/EPUB-Techniques-Added-Headings
Browse files Browse the repository at this point in the history
added titles for each Instructions section
  • Loading branch information
clapierre authored Oct 11, 2024
2 parents 59c25a5 + f672c20 commit 5f04787
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion UX-Guide-Metadata/draft/techniques/epub-metadata/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ <h4>Variables setup</h4>
</ol>
<h4>Instructions</h4>
<ol class="condition">
<li>Display <code id="visual-adjustments-title">"Visual adjustments"</code> as heading.</li>
<li>
<span><b>IF</b> <var>all_textual_content_can_be_modified</var>:</span>
<span><b>THEN</b> display "<code id="visual-adjustments-modifiable">Appearance can be modified"</code>.</span>
Expand Down Expand Up @@ -285,6 +286,7 @@ <h4>Variables setup</h4>
</ol>
<h4>Instructions</h4>
<ol class="condition">
<li>Display <code id="nonvisual-reading-title">"Supports nonvisual reading"</code> as heading.</li>
<li>
<span><b>IF</b> <var>all_necessary_content_textual</var>:</span>
<span><b>THEN</b> display <code id="nonvisual-reading-readable">"Readable in read aloud and braille"</code>.</span>
Expand Down Expand Up @@ -410,6 +412,7 @@ <h4>Variables setup</h4>

<h4>Instructions</h4>
<ol class="condition">
<li>Display <code id="conformance-title">"Conformance"</code> as heading.</li>
<li>
<span><b>IF</b> <var>level_aaa</var>:</span>
<span><b>THEN</b> display <code id="conformance-aaa">"This publication exceeds accepted accessibility standards"</code>.</span>
Expand Down Expand Up @@ -567,6 +570,10 @@ <h4>Variables setup</h4>
</ol>
<h4>Instructions</h4>
<ol class="condition">
<li>
Display <code id="pre-recorded-audio-title">"Pre-recorded audio"</code> as heading.
<p class="note">This heading can be hidden if metadata is missing.</p>
</li>
<li>
<span><b>IF</b> <var>all_content_audio</var>:</span>
<span><b>THEN</b> display <code id="pre-recorded-audio-only">"Audio only"</code>.</span>
Expand Down Expand Up @@ -632,6 +639,10 @@ <h4>Variables setup</h4>
</ol>
<h4>Instructions</h4>
<ol class="condition">
<li>
Display <code id="navigation-title">"Navigation"</code> as heading.
<p class="note">This heading can be hidden if metadata is missing.</p>
</li>
<li>
<span><b>IF</b> <var>table_of_contents_navigation</var> <b>OR</b> <var>index_navigation</var> <b>OR</b> <var>print_equivalent_page_numbering</var> <b>OR</b> <var>next_previous_structural_navigation</var>:</span>
<span><b>THEN</b> <b>LET</b> <var>navigation</var> be an empty array.</span>
Expand Down Expand Up @@ -731,6 +742,10 @@ <h4>Variables setup</h4>
</ol>
<h4>Instructions</h4>
<ol class="condition">
<li>
Display <code id="charts-diagrams-formulas-title">"Charts, diagrams, and formulas"</code> as heading.
<p class="note">This heading can be hidden if metadata is missing.</p>
</li>
<li>
<span><b>IF</b> (<var>contains_charts_diagrams</var> <b>AND</b> <var>long_text_descriptions</var>):</span>
<span><b>THEN</b> display <code id="charts-diagrams-formulas-extended">"Charts and diagrams have extended descriptions"</code>.</span>
Expand Down Expand Up @@ -830,6 +845,10 @@ <h4>Variables setup</h4>
</ol>
<h4>Instructions</h4>
<ol class="condition">
<li>
Display <code id="hazards-title">"Hazards"</code> as heading.
<p class="note">This heading can be hidden if metadata is missing.</p>
</li>
<li>
<span><b>IF</b> <var>no_hazards_or_warnings_confirmed</var> <b>OR</b> (<var>no_flashing_hazards</var> <b>AND</b> <var>no_motion_hazards</var> <b>AND</b> <var>no_sound_hazards</var>):</span>
<span><b>THEN</b> display <code id="hazards-none">"No hazards"</code>.</span>
Expand Down Expand Up @@ -915,7 +934,11 @@ <h4>Variables setup</h4>
</ol>
<h4>Instructions</h4>
<ol class="condition">
<li>
<li>
Display <code id="accessibility-summary-title">"Accessibility summary"</code> as heading.
<p class="note">This heading can be hidden if metadata is missing.</p>
</li>
<li>
<span><b>IF</b> <var>lang_attribute_accessibility_summary</var> is <b>NOT</b> empty:</span>
<span><b>THEN</b> <b>LET</b> <var>language_accessibility_summary</var> be the value of <var>lang_attribute_accessibility_summary</var>.</span>
</li>
Expand Down Expand Up @@ -966,6 +989,10 @@ <h4>Variables setup</h4>
</ol>
<h4>Instructions</h4>
<ol class="condition">
<li>
Display <code id="legal-considerations-title">"Legal considerations"</code> as heading.
<p class="note">This heading can be hidden if metadata is missing.</p>
</li>
<li>
<span><b>IF</b> <var>eaa_exemption_micro_enterprises</var> <b>OR</b> <var>eaa_exception_disproportionate_burden</var> <b>OR</b> <var>eaa_exception_fundamental_modification</var>:</span>
<span><b>THEN</b> display <code id="tbd">"TBD"</code>.</span>
Expand Down

0 comments on commit 5f04787

Please sign in to comment.