Skip to content

Commit ab2378e

Browse files
committed
Fix unclosed </a> tags in understanding pages
Some of the content added by w3c#4262 contained links that were closed with <a> tags instead of </a>. That in turn caused large chunks of content to be transformed into hash (#) links. Specifically: * Understanding Guideline 1.1: Text Alternatives * https://w3c.github.io/wcag/understanding/text-alternatives.html#text-alternatives-and-equivalents-match-the-language-of-the-content * Understanding SC 1.1.1: Non-text Content (Level A) * https://w3c.github.io/wcag/understanding/non-text-content.html#note-on-alternatives-matching-the-language-of-content * Understanding Guideline 1.2: Time-based Media * https://w3c.github.io/wcag/understanding/time-based-media.html#text-alternatives-and-equivalents-match-the-language-of-the-content This resolves it by replacing the affected <a> tags with </a>.
1 parent dbb3207 commit ab2378e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

understanding/20/non-text-content.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h3>
7979

8080
<section>
8181
<h3>Note on alternatives matching the language of content</h3>
82-
<p>Text alternatives and equivalents should match the human language of the original content (normally the default human language of the page). The <a href="https://www.w3.org/TR/WCAG22/#conformance-reqs">5.2 Conformance Requirements<a> section, through the defined terms used there, states that success criteria be met through accessibility-supported ways (5.2.4), where the technology is used “in the human language of the content.” Where an alternative version is used (5.2.1), it is defined as something that “provides all of the same information and functionality in the same human language.”</p>
82+
<p>Text alternatives and equivalents should match the human language of the original content (normally the default human language of the page). The <a href="https://www.w3.org/TR/WCAG22/#conformance-reqs">5.2 Conformance Requirements</a> section, through the defined terms used there, states that success criteria be met through accessibility-supported ways (5.2.4), where the technology is used “in the human language of the content.” Where an alternative version is used (5.2.1), it is defined as something that “provides all of the same information and functionality in the same human language.”</p>
8383
</section>
8484

8585
<section>

understanding/20/text-alternatives.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ <h2>Intent of Text Alternatives</h2>
3535

3636
</section>
3737
<section><h3>Text alternatives and equivalents match the language of the content</h3>
38-
<p>Text alternatives and equivalents should match the human language of the original content (normally the default human language of the page). The <a href="https://www.w3.org/TR/WCAG22/#conformance-reqs">5.2 Conformance Requirements<a> section, through the defined terms used there, states that success criteria be met through accessibility-supported ways (5.2.4), where the technology is used “in the human language of the content.” Where an alternative version is used (5.2.1), it is defined as something that “provides all of the same information and functionality in the same human language.”</p>
38+
<p>Text alternatives and equivalents should match the human language of the original content (normally the default human language of the page). The <a href="https://www.w3.org/TR/WCAG22/#conformance-reqs">5.2 Conformance Requirements</a> section, through the defined terms used there, states that success criteria be met through accessibility-supported ways (5.2.4), where the technology is used “in the human language of the content.” Where an alternative version is used (5.2.1), it is defined as something that “provides all of the same information and functionality in the same human language.”</p>
3939
</section>
4040

4141
<section id="advisory">

understanding/20/time-based-media.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ <h2>Intent of Time-Based Media</h2>
9090
</section>
9191

9292
<section><h3>Text alternatives and equivalents match the language of the content</h3>
93-
<p>Text alternatives and equivalents should match the human language of the original content (normally the default human language of the page). The <a href="https://www.w3.org/TR/WCAG22/#conformance-reqs">5.2 Conformance Requirements<a> section, through the defined terms used there, states that success criteria be met through accessibility-supported ways (5.2.4), where the technology is used “in the human language of the content.” Where an alternative version is used (5.2.1), it is defined as something that “provides all of the same information and functionality in the same human language.”</p>
93+
<p>Text alternatives and equivalents should match the human language of the original content (normally the default human language of the page). The <a href="https://www.w3.org/TR/WCAG22/#conformance-reqs">5.2 Conformance Requirements</a> section, through the defined terms used there, states that success criteria be met through accessibility-supported ways (5.2.4), where the technology is used “in the human language of the content.” Where an alternative version is used (5.2.1), it is defined as something that “provides all of the same information and functionality in the same human language.”</p>
9494
<p>For time-based media, that normally means that where the spoken language of the media is, for example, Spanish, the language used in captions, audio descriptions, and media alternatives will also be Spanish.</p>
9595
</p>
9696
</section>

0 commit comments

Comments
 (0)