Skip to content

Commit 5ce3361

Browse files
authored
Instructions paragraph cleanup (#3941)
Resolves #3918. There are multiple commits in this PR, each grouping a subset of removals: - Removals of entire `

` paragraphs having no effect on output - Some of these contained boilerplate from the original techniques or understanding template; others had content redundant of information that the build system automatically generates. (There was one instance of the latter in `label-in-name.html` that did not even have `class="instructions"`, and was thus already causing repetition of auto-generated content.) - Previews: [ARIA24](https://deploy-preview-3941--wcag2.netlify.app/techniques/aria/aria24), [SCR39](https://deploy-preview-3941--wcag2.netlify.app/techniques/client-side-script/scr39), [F102](https://deploy-preview-3941--wcag2.netlify.app/techniques/failures/f102), [F105](https://deploy-preview-3941--wcag2.netlify.app/techniques/failures/f105), [G211](https://deploy-preview-3941--wcag2.netlify.app/techniques/general/g211), [G212](https://deploy-preview-3941--wcag2.netlify.app/techniques/general/g212), [G217](https://deploy-preview-3941--wcag2.netlify.app/techniques/general/g217), [G219](https://deploy-preview-3941--wcag2.netlify.app/techniques/general/g219), [2.3.3](https://deploy-preview-3941--wcag2.netlify.app/understanding/animation-from-interactions), [2.5.2](https://deploy-preview-3941--wcag2.netlify.app/understanding/pointer-cancellation), [2.5.3](https://deploy-preview-3941--wcag2.netlify.app/understanding/label-in-name), [2.5.5](https://deploy-preview-3941--wcag2.netlify.app/understanding/target-size-enhanced), - Removals of `class="instructions"` from paragraphs with custom content that should not have had this class; these were previously absent from build output but will now be present. - To be clear, this PR does not add any content that was not already previously authored and reviewed. - Previews: [C39](https://deploy-preview-3941--wcag2.netlify.app/techniques/css/c39), [F97](https://deploy-preview-3941--wcag2.netlify.app/techniques/failures/f97), [G211](https://deploy-preview-3941--wcag2.netlify.app/techniques/general/g211), [G217](https://deploy-preview-3941--wcag2.netlify.app/techniques/general/g217), [G218](https://deploy-preview-3941--wcag2.netlify.app/techniques/general/g218), [G220](https://deploy-preview-3941--wcag2.netlify.app/techniques/general/g220), [H100](https://deploy-preview-3941--wcag2.netlify.app/techniques/html/h100) In cases where removal of these paragraphs clearly yielded an empty section, I have removed the entire section. (In some cases, these sections were already commented out.) This overlaps a bit with #3927; I have updated the log there to exclude what's already handled in this PR. **Note:** as part of this PR, I have removed `identify-changes.html` and `interruptions-minimum.html` from `understanding/21`, as both of these seemed to be unused and largely contained template boilerplate. These removals do not affect build output at all.

1 parent 8893818 commit 5ce3361

19 files changed

+9
-240
lines changed

techniques/aria/ARIA24.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@

Metadata

1515
<p id="type">advisoryp>
1616
section>
1717

18-
<section id="applicability">
19-
<h2>When to Useh2>
20-
<p class="instructions">This technique is applicable to Markup languages that support ARIA.p>
21-
section>
22-
2318
<section id="description">
2419

2520
<h2>Descriptionh2>

techniques/client-side-script/SCR39.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@

Description

2929
section>
3030
<section id="examples">
3131
<h2>Examplesh2>
32-
<p class="instructions">p>
3332
<section class="example">
3433
<h3>Content preview for linksh3>
3534
<p>When hovering over or focusing on a link, a content preview for the link appears just above or below that link.

techniques/css/C39.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@

Metadata

1717

1818
<section id="applicability">
1919
<h2>When to Useh2>
20-
<p class="instructions">
20+
<p>
2121
CSS which causes motion that is triggered by user interactions.
2222
p>
2323
section>

techniques/failures/F102.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
<h1>Failure of Success Criterion 1.4.10 due to content disappearing and not being available when content has reflowedh1>
99
<section id="meta">
1010
<h2>Metadatah2>
11-
<p class="instructions">Provide information below to help editors associate the technique properly. Contents of the meta section are not output by the processor.p>
1211
<p id="sc">p>
1312
<p id="type">p>
1413
section>

techniques/failures/F105.html

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
<h1>Failure of Success Criterion 2.5.1 due to providing functionality via a path-based gesture without simple pointer alternativeh1>
99
<section id="meta">
1010
<h2>Metadatah2>
11-
<p class="instructions">Provide information below to help editors associate the technique properly. Contents of the meta section are not output by the processor.p>
1211
<p id="sc">Applies to 2.5.1 Pointer Gesturesp>
1312
<p id="type">Failure Techniquep>
1413
section>
@@ -55,14 +54,5 @@

Related Techniques

5554
<li><a href="../general/G216">Providing single point activation for a control slidera>li>
5655
ul>
5756
section>
58-
6757
body>
6858
html>

techniques/failures/F97.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@

Metadata

1414
section>
1515
<section id="applicability">
1616
<h2>When to Useh2>
17-
<p class="instructions">All technologies that allow the viewing of content to be restricted to one orientation.p>
17+
<p>All technologies that allow the viewing of content to be restricted to one orientation.p>
1818
section>
1919
<section id="description">
2020
<h2>Descriptionh2>

techniques/general/G211.html

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@

Metadata

1414
section>
1515
<section id="applicability">
1616
<h2>When to Useh2>
17-
<p class="instructions">This technique applies to all web technologies that include interactive controls (such as links or form inputs).p>
17+
<p>This technique applies to all web technologies that include interactive controls (such as links or form inputs).p>
1818
section>
1919
<section id="description">
2020
<h2>Descriptionh2>
21-
<p class="instructions">The objective of this technique is to ensure that speech input users can operate web content reliably while not adversely affecting other users of assistive technology.p>
21+
<p>The objective of this technique is to ensure that speech input users can operate web content reliably while not adversely affecting other users of assistive technology.p>
2222
<p>When speech input users interact with a web page, they usually speak a command followed by the reference to some visible label (such as text beside an input field or inside a button or link). For example, they may say "click search" to activate a button labelled Search. When speech recognition software processes speech input and looks for matches, it uses the <a href="https://www.w3.org/TR/accname/"> accessible namea> of controls. Where there is a mismatch between the text in the label and the text in the accessible name, it can cause issues for the user. The simplest way to enable speech input users and meet 2.5.3 Label in Name is to ensure that the accessible name matches the visible text label.p>
2323
<h3>Determining the appropriate labelh3>
2424
<p>Sometimes more than one text string will be positioned in the vicinity of a control that could be considered a candidate for its label. For example, a set of inputs that each have their own labels may also be preceded by a heading, an instruction or a group label (such as an HTML legend/fieldset or an ARIA group or radiogroup). Note that the term "group label" means something different than "label", both programmatically and in regard to 2.5.3 Label in Name.p>
@@ -207,18 +207,15 @@

Expected Results

207207
section>
208208
<section id="related">
209209
<h2>Related Techniquesh2>
210-
<p class="instructions">Provide links to other techniques that users should consider. This section is optional.p>
211210
<ul>
212211
<li><a href="../html/H44">H44: Using label elements to associate text labels with form controlsa>li>
213212
<li><a href="../html/H71">H71: Providing a description for groups of form controls using fieldset and legend elementsa>li>
214213
<li><a href="../html/H85">H85: Using OPTGROUP to group OPTION elements inside a SELECTa>li>
215-
<li><a href="../aria/ARIA17">ARIA17: Using grouping roles to identify related form controlsa>
216-
li>
214+
<li><a href="../aria/ARIA17">ARIA17: Using grouping roles to identify related form controlsa>li>
217215
ul>
218216
section>
219217
<section id="resources">
220218
<h2>Resourcesh2>
221-
<p class="instructions">Provide links to external resources that are relevant to users of the technique. This section is optional.p>
222219
<ul>
223220
<li><a href="https://www.w3.org/TR/accname/">Accessible Name and Description Computationa>li>
224221
<li><a href="https://www.w3.org/TR/html-aam/#accessible-name-and-description-computation">Accessible Name and Description Computation in HTML Accessibility API Mappings 1.0a>li>

techniques/general/G212.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
<h1>Using native controls to ensure functionality is triggered on the up-event.h1>
99
<section id="meta">
1010
<h2>Metadatah2>
11-
<p class="instructions">Provide information below to help editors associate the technique properly. Contents of the meta section are not output by the processor.p>
1211
<p id="sc">2.5.2 Pointer Cancellationp>
1312
<p id="type">Sufficientp>
1413
section>

techniques/general/G217.html

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,12 @@
88
<h1>Providing a mechanism to allow users to remap or turn off character key shortcutsh1>
99
<section id="meta">
1010
<h2>Metadatah2>
11-
<p class="instructions">Provide information below to help editors associate the technique properly. Contents of the meta section are not output by the processor.p>
1211
<p id="sc">2.1.4 Character Key Shortcutsp>
1312
<p id="type">Sufficientp>
1413
section>
1514
<section id="applicability">
1615
<h2>Applicabilityh2>
17-
<p class="instructions">Any technology that supports scripting.p>
16+
<p>Any technology that supports scripting.p>
1817
section>
1918
<section id="description">
2019
<h2>Descriptionh2>
@@ -53,19 +52,5 @@

Expected Results

5352
ul>
5453
section>
5554
section>
56-
<section id="related">
57-
<h2>Related Techniquesh2>
58-
<p class="instructions">Provide links to other techniques that users should consider. This section is optional.p>
59-
<ul>
60-
<li>IDli>
61-
ul>
62-
section>
63-
<section id="resources">
64-
<h2>Resourcesh2>
65-
<p class="instructions">Provide links to external resources that are relevant to users of the technique. This section is optional.p>
66-
<ul>
67-
<li>Linkli>
68-
ul>
69-
section>
7055
body>
7156
html>

techniques/general/G218.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@

Metadata

1313
section>
1414
<section id="applicability">
1515
<h2>Applicabilityh2>
16-
<p class="instructions">Technologies that support authentication.p>
16+
<p>Technologies that support authentication.p>
1717
section>
1818
<section id="description">
1919
<h2>Descriptionh2>

techniques/general/G219.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
<h1>Ensuring that an alternative is available for <a>dragging movementa>s that operate on contenth1>
99
<section id="meta">
1010
<h2>Metadatah2>
11-
<p class="instructions">Provide information below to help editors associate the technique properly. Contents of the meta section are not output by the processor.p>
1211
<p id="sc">2.5.X Draggingp>
1312
<p id="type">Sufficientp>
1413
section>
@@ -56,14 +55,9 @@

Expected Results

5655
section>
5756
<section id="related">
5857
<h2>Related Techniquesh2>
59-
<p class="instructions">Provide links to other techniques that users should consider. This section is optional.p>
6058
<ul>
6159
<li><a href="../general/G215">G215: Providing controls to achieve the same result as path based or multipointa>li>
6260
ul>
6361
section>
64-
<section id="resources">
65-
<h2>Resourcesh2>
66-
67-
section>
6862
body>
6963
html>

techniques/general/G220.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@

Metadata

1313
section>
1414
<section id="applicability">
1515
<h2>Applicabilityh2>
16-
<p class="instructions">Technologies that contain linksp>
16+
<p>Technologies that contain linksp>
1717
section>
1818
<section id="description">
1919
<h2>Descriptionh2>

techniques/html/H100.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@

Metadata

1313
section>
1414
<section id="applicability">
1515
<h2>Applicabilityh2>
16-
<p class="instructions">Technologies that support authentication.p>
16+
<p>Technologies that support authentication.p>
1717
section>
1818
<section id="description">
1919
<h2>Descriptionh2>

understanding/21/animation-from-interactions.html

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -84,16 +84,6 @@

Sufficient

8484
<li>Gx: Allowing users to set a preference that prevents animation.li>
8585
ul>
8686
section>
87-
9787
section>
9888
body>
9989
html>

understanding/21/identify-changes.html

Lines changed: 0 additions & 77 deletions
This file was deleted.

0 commit comments

Comments
 (0)