Skip to content

Commit

Permalink
Merge pull request #444 from w3c/adding-math-to-charts
Browse files Browse the repository at this point in the history
Adding math to charts section in principles, and both techniques
  • Loading branch information
GeorgeKerscher authored Oct 24, 2024
2 parents 842f915 + cedf419 commit b8d6d91
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions UX-Guide-Metadata/draft/principles/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -877,12 +877,12 @@ <h4>Display techniques for navigation support</h4>
</section>
</section>
<section id="charts-diagrams-and-formulas">
<h3 data-localization-id="charts-diagrams-formulas-title">Charts, diagrams, and formulas</h3>
<h3 data-localization-id="charts-diagrams-formulas-title">Charts, diagrams, math, and formulas</h3>

<div class="note">
<p>This key information can be hidden if metadata is missing. Alternatively it can be stated that
<span data-localization-id="charts-diagrams-formulas-unknown"
data-localization-mode="descriptive">The accessibility of formulas, charts, and diagrams is
data-localization-mode="descriptive">The accessibility of formulas, charts, math, and diagrams is
not available</span></p>
</div>

Expand All @@ -891,7 +891,7 @@ <h3 data-localization-id="charts-diagrams-formulas-title">Charts, diagrams, and
(e.g., whether formulas are navigable with assistive technologies, or whether extended descriptions
are available for complex images).</p>

<p>This group should be displayed only if the metadata indicates the presence of formulas or charts and
<p>This group should be displayed only if the metadata indicates the presence of formulas, math, charts, or
graphs within the title, otherwise it can be hidden.</p>

<section id="cdf-examples">
Expand All @@ -916,7 +916,7 @@ <h4>Examples</h4>
</li>
<li>
<span data-localization-id="charts-diagrams-formulas-unknown"
data-localization-mode="descriptive"> formulas, charts, and diagrams without any
data-localization-mode="descriptive"> formulas, charts, math, and diagrams without any
information about the accessibility of this content</span>
</li>
</ul>
Expand All @@ -935,7 +935,7 @@ <h4>Examples</h4>
</li>
<li>
<span data-localization-id="charts-diagrams-formulas-unknown"
data-localization-mode="compact">The accessibility of formulas, charts, and diagrams is not available</span>
data-localization-mode="compact">The accessibility of formulas, charts, math, and diagrams is not available</span>
</li>
</ul>
</aside>
Expand Down
8 changes: 4 additions & 4 deletions UX-Guide-Metadata/draft/techniques/epub-metadata/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -679,8 +679,8 @@ <h4>Instructions</h4>
</section>

<section id="charts-diagrams-and-formulas">
<h3>Charts, diagrams, and formulas</h3>
<p>This technique relates to <a href="../../principles/#charts-diagrams-and-formulas">Charts, diagrams, and formulas key information</a>.</p>
<h3>Charts, diagrams, math, and formulas</h3>
<p>This technique relates to <a href="../../principles/#charts-diagrams-and-formulas">Charts, diagrams, math, and formulas key information</a>.</p>

<p>This algorithm takes the <var>package_document_as_text</var> argument: a UTF-8 string representing the Package document.</p>
<h4>Understanding the variables</h4>
Expand Down Expand Up @@ -743,7 +743,7 @@ <h4>Variables setup</h4>
<h4>Instructions</h4>
<ol class="condition">
<li>
Display <code id="charts-diagrams-formulas-title">"Charts, diagrams, and formulas"</code> as heading.
Display <code id="charts-diagrams-formulas-title">"Charts, diagrams, math, and formulas"</code> as heading.
<p class="note">This heading can be hidden if metadata is missing.</p>
</li>
<li>
Expand All @@ -760,7 +760,7 @@ <h4>Instructions</h4>
</li>
<li>
<span><b>IF</b> (<var>contains_charts_diagrams</var> <b>OR</b> <var>contains_chemical_formula</var> <b>OR</b> <var>contains_math_formula</var>) <b>AND</b> <b>NOT</b> (<var>long_text_descriptions</var> <b>OR</b> <var>chemical_formula_as_chemml</var> <b>OR</b> <var>math_formula_as_latex</var> <b>OR</b> <var>math_formula_as_mathml</var>):</span>
<span><b>THEN</b> display <code id="charts-diagrams-formulas-unknown">"The accessibility of formulas, charts, and diagrams is not available."</code>.</span>
<span><b>THEN</b> display <code id="charts-diagrams-formulas-unknown">"The accessibility of formulas, charts, math, and diagrams is not available."</code>.</span>
</li>
</ol>

Expand Down
8 changes: 4 additions & 4 deletions UX-Guide-Metadata/draft/techniques/onix-metadata/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -679,8 +679,8 @@ <h4>Instructions</h4>
</section>

<section id="charts-diagrams-and-formulas">
<h3>Charts, diagrams, and formulas</h3>
<p>This technique relates to <a href="../../principles/#charts-diagrams-and-formulas">Charts, diagrams, and formulas key information</a>.</p>
<h3>Charts, diagrams, math, and formulas</h3>
<p>This technique relates to <a href="../../principles/#charts-diagrams-and-formulas">Charts, diagrams, math, and formulas key information</a>.</p>
<p>This algorithm takes the <var>onix_record_as_text</var> argument: a UTF-8 string representing the ONIX record.</p>
<h4>Understanding the variables</h4>
<dl>
Expand Down Expand Up @@ -746,7 +746,7 @@ <h4>Variables setup</h4>
<h4>Instructions</h4>
<ol class="condition">
<li>
Display <code id="charts-diagrams-formulas-title">"Charts, diagrams, and formulas"</code> as heading.
Display <code id="charts-diagrams-formulas-title">"Charts, diagrams, math, and formulas"</code> as heading.
<p class="note">This heading can be hidden if metadata is missing.</p>
</li>
<li>
Expand All @@ -767,7 +767,7 @@ <h4>Instructions</h4>
</li>
<li>
<span><b>IF</b> (<var>contains_charts_diagrams</var> <b>OR</b> <var>contains_chemical_formula</var> <b>OR</b> <var>contains_math_formula</var>) <b>AND</b> <b>NOT</b> (<var>charts_diagrams_diagrams_as_long_text</var> <b>OR</b> <var>charts_diagrams_as_non_graphical_data</var> <b>OR</b> <var>chemical_formula_as_chemml</var> <b>OR</b> <var>chemical_formula_as_mathml</var> <b>OR</b> <var>math_formula_as_latex</var> <b>OR</b> <var>math_formula_as_mathml</var>):</span>
<span><b>THEN</b> display <code id="charts-diagrams-formulas-unknown">"The accessibility of formulas, charts, and diagrams is not available."</code>.</span>
<span><b>THEN</b> display <code id="charts-diagrams-formulas-unknown">"The accessibility of formulas, charts, math, and diagrams is not available."</code>.</span>
</li>
</ol>
</section>
Expand Down

0 comments on commit b8d6d91

Please sign in to comment.