Skip to content

Commit

Permalink
Merge pull request #554 from w3c/small-fixes-for-localization
Browse files Browse the repository at this point in the history
Small fixes for localization
  • Loading branch information
GeorgeKerscher authored Dec 26, 2024
2 parents bc80385 + c505d49 commit dd2f3de
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 154 deletions.
51 changes: 24 additions & 27 deletions a11y-meta-display-guide/2.0/draft/guidelines/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ <h4>Examples</h4>

<aside class="example" title="Descriptive explanations">
<ul>
<li data-localization-id="has-alt-text"
<li data-localization-id="nonvisual-reading-alt-text"
data-localization-mode="descriptive">Has alt
text on images</li>
<li data-localization-id="nonvisual-reading-readable"
Expand All @@ -722,7 +722,7 @@ <h4>Examples</h4>

<aside class="example" title="Compact explanations">
<ul>
<li data-localization-id="has-alt-text"
<li data-localization-id="nonvisual-reading-alt-text"
data-localization-mode="compact">Has alt
text</li>
<li data-localization-id="nonvisual-reading-readable"
Expand Down Expand Up @@ -908,15 +908,15 @@ <h4>Examples</h4>
accepted accessibility standards</p>
<p>
<span
data-localization-id="conformance-certification-info"
data-localization-id="conformance-certifier"
data-localization-mode="compact">The
publication was certified by</span>
Foo's Accessibility Testing
</p>
<p>
<span
data-localization-id="conformance-certifier-credentials-prefix"
data-localization-mode="compact">The certifier 's credential is</span> "Enterprise
data-localization-id="conformance-certifier-credentials"
data-localization-mode="compact">The certifier's credential is</span> "Enterprise
Accessibility Rating"
</p>

Expand Down Expand Up @@ -962,15 +962,15 @@ <h4>Examples</h4>
minimum accessibility standards</p>
<p>
<span
data-localization-id="conformance-certification-info"
data-localization-id="conformance-certifier"
data-localization-mode="compact">The
publication was certified by</span>
Foo's Accessibility Testing
</p>
<p>
<span
data-localization-id="conformance-certifier-credentials-prefix"
data-localization-mode="compact">The certifier 's credential is</span> "Enterprise
data-localization-id="conformance-certifier-credentials"
data-localization-mode="compact">The certifier's credential is</span> "Enterprise
Accessibility Rating"
</p>
<p data-localization-id="conformance-details">
Expand All @@ -995,8 +995,8 @@ <h4>Examples</h4>
data-localization-mode="descriptive">The
publication was certified on</span>
2021-09-07</p>
<p><span data-localization-id="conformance-certifier-credentials-prefix">The certifier 's credential is</span> "Enterprise
Accessibility Rating" </p>
<p><span data-localization-id="conformance-certifier-credentials">The certifier's credential is</span> "Enterprise
Accessibility Rating"</p>
<p><span
data-localization-id="conformance-certifier-report">For
more information refer to the
Expand All @@ -1021,8 +1021,7 @@ <h4>Examples</h4>
publication is certified by
</span>Foo's Accessibility Testing </p>
<p><span
data-localization-id="conformance-certifier-credentials">The
certifier's credential is</span>"Enterprise
data-localization-id="conformance-certifier-credentials">The certifier's credential is</span> "Enterprise
Accessibility Rating</p>


Expand Down Expand Up @@ -1259,7 +1258,7 @@ <h4>Display techniques for navigation support</h4>
</section>
</section>
<section id="rich-content">
<h3 data-localization-id="Rich-content-title">Rich content</h3>
<h3 data-localization-id="rich-content-title">Rich content</h3>

<div class="note">
<p>This key information can be hidden if metadata is
Expand Down Expand Up @@ -1306,13 +1305,12 @@ <h4>Examples</h4>
data-localization-id="rich-content-extended"
data-localization-mode="descriptive">Information-rich images are described by extended descriptions</span>
</li>
<li><span data-localization-id="additional-accessibility-information-adaptation-closed-captions" data-localization-mode="descriptive">
Videos included in publications have closed
captions </span></li>
<li><span data-localization-id="rich-content-closed-captions" data-localization-mode="descriptive">
Videos included in publications have closed captions</span></li>

<li><span data-localization-id="additional-accessibility-information-adaptation-open-captions" data-localization-mode="descriptive">
Videos included in publications have open captions </span></li>
<li><span data-localization-id="additional-accessibility-information-adaptation-full-transcript" data-localization-mode="descriptive">
<li><span data-localization-id="rich-content-open-captions" data-localization-mode="descriptive">
Videos included in publications have open captions</span></li>
<li><span data-localization-id="rich-content-transcript" data-localization-mode="descriptive">
Has a transcript</span></li>
<li><span data-localization-id="rich-content-unknown" data-localization-mode="descriptive">No information is available</span></li>
</ul>
Expand Down Expand Up @@ -1342,13 +1340,12 @@ <h4>Examples</h4>
data-localization-id="rich-content-extended"
data-localization-mode="compact">Information-rich images are described by extended descriptions</span>
</li>
<li><span data-localization-id="additional-accessibility-information-adaptation-closed-captions" data-localization-mode="compact">
Videos have closed
captions </span></li>
<li><span data-localization-id="rich-content-closed-captions" data-localization-mode="compact">
Videos have closed captions </span></li>
<li>
<span data-localization-id="additional-accessibility-information-adaptation-open-captions" data-localization-mode="compact">
Videos have open captions </span></li>
<li><span data-localization-id="additional-accessibility-information-adaptation-full-transcript" data-localization-mode="compact">
<span data-localization-id="rich-content-open-captions" data-localization-mode="compact">
Videos have open captions</span></li>
<li><span data-localization-id="rich-content-transcript" data-localization-mode="compact">
Has transcript</span></li>
<li><span data-localization-id="rich-content-unknown" data-localization-mode="compact">No information is available</span></li>
</ul>
Expand Down Expand Up @@ -1464,7 +1461,7 @@ <h4>Examples</h4>
sounds</span></li>
<li><span
data-localization-id="hazards-unknown"
data-localization-mode="compact"></span>The presence of hazards is unknown</li>
data-localization-mode="compact">The presence of hazards is unknown</span></li>
<li><span
data-localization-id="hazards-no-metadata"
data-localization-mode="compact">No information is available</span></li>
Expand Down Expand Up @@ -1621,7 +1618,7 @@ <h4>Example</h4>
data-localization-mode="descriptive">This
publication claims an accessibility exemption in
some jurisdictions</p>
<p>No information is available</p>
<p data-localization-id="legal-considerations-no-metadata" data-localization-mode="compact">No information is available</p>
</aside>

</section>
Expand Down
Binary file not shown.
Loading

0 comments on commit dd2f3de

Please sign in to comment.