Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge pr3381 and pr3738 #3757

Merged
merged 172 commits into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
172 commits
Select commit Hold shift + click to select a range
26f403a
Update H2
fstrr Sep 1, 2023
5254832
Update h24 for syntax highlighting
fstrr Sep 1, 2023
7fee788
Update h25 for syntax highlighting support
fstrr Sep 1, 2023
3bea235
Update h28
fstrr Sep 1, 2023
be168c2
Update h30 for syntax highlighting support
fstrr Sep 1, 2023
0cc7e43
Update h32 for syntax highlighting support
fstrr Sep 1, 2023
8b1b956
Update H33
fstrr Sep 1, 2023
2fc240a
Update H34 - update out of date resource links
fstrr Sep 1, 2023
6f354cc
Update h36 for syntax highlighting
fstrr Sep 1, 2023
1aebc64
Update h37 for syntax highlighting
fstrr Sep 1, 2023
3c191e6
Update H39 for syntax highlighting
fstrr Sep 5, 2023
8a1c27b
Update H40 for syntax highlighting
fstrr Sep 5, 2023
0e7d7d8
Update h42 for syntax highlighting
fstrr Sep 5, 2023
a7fe836
Update h43 for syntax highlighting
fstrr Sep 5, 2023
1e45360
Update h44 for syntax highlighting
fstrr Sep 5, 2023
3d7f985
H48 update el class
fstrr Sep 5, 2023
b3992d0
Update el class attributes
fstrr Sep 5, 2023
ae307e4
Update H49 for syntax highlighting
fstrr Sep 5, 2023
5e03dd1
Update H51 for syntax highlighting
fstrr Sep 5, 2023
2ec5538
Update H53
fstrr Sep 5, 2023
f717de5
Update H54
fstrr Sep 5, 2023
7073de2
Update H56
fstrr Sep 5, 2023
eba5219
Update H57 for syntax highlighting
fstrr Sep 7, 2023
12352df
Update H58 for syntax highlighting
fstrr Sep 7, 2023
4ae5cc4
Update H59 for syntax highlighting
fstrr Sep 7, 2023
0f062c2
H58: add lang to German code sample
fstrr Sep 7, 2023
4211805
Update H62
fstrr Sep 7, 2023
80e2514
Update H63
fstrr Sep 7, 2023
eccb389
Update H64 for syntax highlighting
fstrr Sep 7, 2023
4218577
Update H65
fstrr Sep 8, 2023
28c39b3
Update H67 for syntax highlighting
fstrr Sep 8, 2023
d542364
Update H69 for syntax highlighting
fstrr Sep 8, 2023
bf3f428
Update H88
fstrr Sep 8, 2023
25f573c
Update H89
fstrr Sep 8, 2023
6a3c72d
Update H90
fstrr Sep 8, 2023
d761be9
Update H91
fstrr Sep 8, 2023
5d8a16d
Update H93
fstrr Sep 8, 2023
58343f7
Updated H70
fstrr Sep 8, 2023
137d635
Update H71 for syntax highlighting
fstrr Sep 8, 2023
f0abd0d
Update H74 text tweak
fstrr Sep 8, 2023
bf6f10c
Update H75
fstrr Sep 8, 2023
bfa5a30
Update H76 for syntax highlighting
fstrr Sep 8, 2023
b349929
Update H77 for syntax highlighting
fstrr Sep 8, 2023
f26eb98
Update H78 for syntax highlighting
fstrr Sep 8, 2023
2028ac4
Update H79 for syntax highlighting
fstrr Sep 8, 2023
1b94aeb
Update H80 for syntax highlighting
fstrr Sep 8, 2023
5522425
Update H81 for syntax highlighting
fstrr Sep 8, 2023
56bf3ff
Update H83 for syntax highlighting
fstrr Sep 8, 2023
a8eded6
Update H84 for syntax highlighting
fstrr Sep 8, 2023
e2d8bb2
Update H85 for syntax highlighting
fstrr Sep 8, 2023
ffabfd1
Update H86 for syntax highlighting
fstrr Sep 8, 2023
d357d07
Update H94 for syntax highlighting
fstrr Sep 8, 2023
9b0b867
Update H95
fstrr Sep 8, 2023
56701ba
Update H96
fstrr Sep 8, 2023
9a14316
Update H97 for syntax highlighting
fstrr Sep 8, 2023
8094137
Update H98 for syntax highlighting
fstrr Sep 8, 2023
7e65db8
Update H99
fstrr Sep 8, 2023
0d04f27
Update H100 for syntax highlighting
fstrr Sep 8, 2023
9dd6fcc
Update H101 for syntax highlighting (and a typo)
fstrr Sep 8, 2023
557739e
Adding an abbr
fstrr Sep 8, 2023
000ff46
Merge branch 'main' into syntax-highlighting-for-html-techniques
fstrr Sep 18, 2023
2e0e694
Fix links to accessible authentication (minimum)
fstrr Oct 12, 2023
7fddb44
Update understanding understanding
fstrr Oct 13, 2023
9ee6aae
Fix links to Accessible Auth criteria
fstrr Oct 13, 2023
86cacd0
Fixed multiple broken links to techniques and failures
fstrr Oct 13, 2023
96ce02d
Fix link to identify input purpose
fstrr Oct 13, 2023
6ed541c
Update link to focus appearance
fstrr Oct 13, 2023
a7a15b2
Merge branch 'main' into broken-link-fixes
fstrr Oct 16, 2023
a99bba4
Update negative consequences and quickref links
fstrr Oct 16, 2023
a9b7a17
Update ARIA 20 links
fstrr Oct 16, 2023
81bc21a
Update links in ARIA22
fstrr Oct 16, 2023
3ee88cd
SCR19, Update absolute 2.1 url to 2.2
fstrr Oct 16, 2023
a4271f0
Scr36 make one URL relative, update another to 2.2
fstrr Oct 16, 2023
5c30567
Scr38 update absolute urls to relative, fix anchors
fstrr Oct 16, 2023
c444eba
Update C7 to change absolute URL to relative
fstrr Oct 16, 2023
7e0ceaf
Update C30 change absolute URL to relative
fstrr Oct 16, 2023
edde949
Remove references to XHTML
fstrr Nov 3, 2023
3725e54
Replace absolute URL with relative
fstrr Nov 6, 2023
6754a31
Replace absolute URLs with relative
fstrr Nov 6, 2023
2196c2b
Replace absolute URL with relative
fstrr Nov 6, 2023
8f950c9
Fix 404, replace absolute URL with relative
fstrr Nov 6, 2023
5dd2c90
Replace absolute URL with relative
fstrr Nov 6, 2023
ea6e884
Replace absolute URL with relative
fstrr Nov 6, 2023
b3db6c4
Replace absolute URL with relative
fstrr Nov 6, 2023
08de5bc
Replace absolute URL with relative
fstrr Nov 6, 2023
fbf4eff
Replace absolute URL with relative
fstrr Nov 6, 2023
680dcdc
Replace absolute URL with relative
fstrr Nov 6, 2023
a11432a
Replace absolute URL with relative
fstrr Nov 6, 2023
9d70bc2
Replace absolute URL with relative
fstrr Nov 6, 2023
c75cf99
Replace absolute URL with relative
fstrr Nov 6, 2023
033897e
Replace absolute URL with relative
fstrr Nov 6, 2023
be82bdb
Replace absolute URL with relative
fstrr Nov 6, 2023
df738fb
Merge branch 'tidy-up-failure-techniques' into broken-link-fixes
fstrr Nov 6, 2023
fd3795e
Remove link to rawgit stylesheet
fstrr Nov 6, 2023
f169090
Replace absolute URL with relative
fstrr Nov 6, 2023
fcd9c53
Replace absolute URL with relative
fstrr Nov 6, 2023
a3dc527
Remove link to rabbit CSS file
fstrr Nov 6, 2023
1fb520e
Replace absolute URL with relative
fstrr Nov 6, 2023
6225be3
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
d76d416
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
ddb8544
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
e3bc5b2
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
87a915a
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
75e805a
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
2dc4243
Fix broken links, replace absolute link with relative
fstrr Nov 6, 2023
d96048f
Replace absolute link with relative
fstrr Nov 6, 2023
cbb640f
Fix broken link
fstrr Nov 6, 2023
ec03f85
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
18e004b
Fix broken link
fstrr Nov 6, 2023
05bb8aa
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
885264d
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
3811819
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
a1dc0eb
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
2ca7660
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
1e69b4e
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
8cd5ea0
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
3c4951d
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
c9415e2
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
24eb5a1
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
4239fd6
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
7fe6397
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
1383dd8
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
3f32b74
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
0b70119
Fix broken link
fstrr Nov 6, 2023
f535275
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
1108370
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
4231c89
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
a2c744d
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
5e426c4
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
d3f7ac5
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
92d573d
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
37b0591
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
7cf6d1f
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
ae3302b
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
1fd6b7e
Replace absolute URL(s) with relative
fstrr Nov 6, 2023
0bc3a34
Replace absolute URLs with relative
fstrr Nov 6, 2023
a0b546c
Remove .html extension
fstrr Nov 6, 2023
e997492
Replace absolute URL with relative
fstrr Nov 6, 2023
38d1cb6
Replace absolute URL with relative
fstrr Nov 6, 2023
936e8ad
Replace absolute url with relative
fstrr Nov 6, 2023
8e32d03
Fix broken techniques and GitHub links
fstrr Nov 6, 2023
a4f65eb
Replace absolute link with relative
fstrr Nov 6, 2023
b9baf15
Update techniques/html/H100.html
patrickhlauke Nov 29, 2023
bd25fe8
Fixes
patrickhlauke Nov 29, 2023
b6e1cbd
preserve whitespace for `<pre>`
patrickhlauke Nov 29, 2023
619150a
Replace closing `<link …></link>` with self-closing `<link … />`
patrickhlauke Nov 29, 2023
7b99c31
Merge branch 'main' into syntax-highlighting-for-html-techniques
fstrr Feb 24, 2024
6687d75
Errent attribute
fstrr Feb 24, 2024
1eac134
Errent attribute
fstrr Feb 24, 2024
dbe4723
Fixing sectioning
alastc Feb 26, 2024
99842f2
Merge branch 'main' into broken-link-fixes
fstrr Mar 8, 2024
031154f
Update all cross-technique/understanding links to be relative
patrickhlauke Mar 9, 2024
89f04b8
Correct broken definition reference for cognitive function test
patrickhlauke Mar 9, 2024
a36b11a
Update technique links in about page
patrickhlauke Mar 22, 2024
cd82988
Merge branch 'main' into patrickhlauke-update-links
patrickhlauke Mar 22, 2024
5315ddf
Redo change from https://github.com/w3c/wcag/pull/3588/ with slight w…
patrickhlauke Mar 22, 2024
4d3a42d
Merge branch 'main' into broken-link-fixes
fstrr Mar 22, 2024
67a20f0
Merge branch 'patrickhlauke-update-links' into potential-complete-mes…
fstrr Mar 25, 2024
25593da
Typo in URL
fstrr Mar 25, 2024
0fb7cd2
Update absolute URLs to WCAG 2.0 techniques
fstrr Mar 25, 2024
a6fcb0c
Add anchor to URL
fstrr Mar 25, 2024
1648340
Updated related links urls
fstrr Mar 25, 2024
9d1e541
Removed details + summary elements
fstrr Mar 25, 2024
4ef99e6
Fix failures URL
fstrr Mar 25, 2024
7f88ee9
Remove el attributes
fstrr Mar 25, 2024
3cfa340
Merge two PRs: #3381 and #3738
fstrr Mar 25, 2024
f8f2c09
Update G208 related links
fstrr Mar 25, 2024
b6ef650
Fix SVR3 link to definition
fstrr Mar 25, 2024
0a435b7
Update PDF link to https and specific page
fstrr Mar 25, 2024
07c3b5d
Fix build error
fstrr Mar 25, 2024
177b780
Merge branch 'main' into merge-pr3381-and-pr3738
patrickhlauke Apr 5, 2024
e93e2b8
Merge branch 'main' into merge-pr3381-and-pr3738
bruce-usab Apr 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
167 changes: 7 additions & 160 deletions techniques/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,178 +52,25 @@ <h3>Updated periodically</h3>
<h3>Techniques are not required</h3>
<p>Techniques are informative—that means they are not required. The basis for determining conformance to WCAG 2 is the success criteria from the WCAG 2 standard—not the techniques.</p>
<div class="note">
<p>W3C cautions against requiring W3C's sufficient techniques. The only thing that should be required is meeting the WCAG 2 success criteria. To learn more, see: <a href="https://www.w3.org/WAI/WCAG20/wcag2faq.html#techsnot">What would be the negative consequences of allowing <em>only</em> W3C's published techniques to be used for conformance to WCAG 2?</a> in the WCAG 2 FAQ </p>
<p>W3C cautions against requiring W3C's sufficient techniques. The only thing that should be required is meeting the WCAG 2 success criteria. To learn more, see: <a href="https://www.w3.org/WAI/standards-guidelines/wcag/faq/#techsnot">What would be the negative consequences of allowing <em>only</em> W3C's published techniques to be used for conformance to WCAG 2?</a> in the WCAG 2 FAQ</p>
</div>
</section>
<section id="quickref">
<h3>WCAG Quick Reference</h3>
<p><em>Techniques for WCAG 2</em> is not intended to be used as a stand-alone document. Instead, it is expected that content authors will usually use <a href="https://www.w3.org/WAI/WCAG21/quickref/">How to Meet WCAG 2: A customizable quick reference</a> to read the WCAG success criteria, and follow links from there to specific topics in Understanding WCAG 2 and to specific techniques.</p>
<h3>WCAG Quick Reference</h3>
<p><em>Techniques for WCAG 2</em> is not intended to be used as a stand-alone document. Instead, it is expected that content authors will usually use <a href="../quickref/">How to Meet WCAG 2: A customizable quick reference</a> to read the WCAG success criteria, and follow links from there to specific topics in Understanding WCAG 2 and to specific techniques.</p>
</section>
<section id="specifictech">
<h3>Techniques for specific technologies</h3>
<h3>Techniques for specific technologies</h3>
<p>Publication of techniques for a specific technology does not imply that the technology can be used in all situations to create content that meets WCAG 2 success criteria and conformance requirements. Developers need to be aware of the limitations of specific technologies and provide content in a way that is accessible to people with disabilities. </p>
</section>
</section>
<section id="important">
<h2>Important Additional Information</h2>
<h2>Important Additional Information</h2>
<p><strong>For important information about techniques, please see the <a class="understanding" href="../Understanding/understanding-techniques">Understanding Techniques for WCAG Success Criteria</a> section of Understanding WCAG 2.</strong></p>
</section>
<section id="changelog">
<details>
<summary>
<h2>Change Log</h2>
</summary>
<p>A list of new, removed or significantly updated techniques:</p>

<ol>

<li>

<time datetime="2020-07-15">July 15th 2020</time>: Removed Flash techniques.

</li>

<li>

<time datetime="2019-09-12">Sept 12th 2019</time>: Added <a href="./techniques/failures/F105">Failure of Success Criterion 2.5.1 due to providing functionality via a path-based
gesture without simple pointer alternative</a></li>

<li>

<time datetime="2019-09-12">Sept 12th 2019</time>: Added <a href="./techniques/failures/F106">Failure due to inability to deactivate motion actuation</a></li>

<li>

<time datetime="2019-09-03">Sept 3rd 2019</time>: Added <a href="./techniques/failures/F104">Failure of Success Criterion 1.4.12 due to clipped or overlapped content when text
spacing is adjusted</a></li>

<li>

<time datetime="2019-09-03">Sept 3rd 2019</time>: Added <a href="./techniques/failures/F103">Failure of Success Criterion 4.1.3 due to providing status messages that cannot be
programmatically determined through role or properties</a></li>

<li>

<time datetime="2019-08-06">Aug 6th 2019</time>: Added <a href="./techniques/failures/F102">Failure of Success Criterion 1.4.10 due to content disappearing and not being available
when content has reflowed</a></li>

<li>

<time datetime="2019-07-16">Jul 16th 2019</time>: Added <a href="./techniques/general/G216">Providing single point activation for a control slider</a></li>

<li>

<time datetime="2019-07-16">Jul 16th 2019</time>: Added <a href="./techniques/general/G215">Providing controls to achieve the same result as path based or multipoint gestures</a></li>

<li>

<time datetime="2019-07-16">Jul 16th 2019</time>: Added <a href="./techniques/failures/F100">Failure of Success Criterion 1.3.4 due to showing a message asking to reorient device</a></li>

<li>

<time datetime="2019-07-16">Jul 16th 2019</time>: Added <a href="./techniques/general/G214">Using a control to allow access to content in different orientations which is otherwise
restricted</a></li>

<li>

<time datetime="2019-07-10">Jul 10th 2019</time>: Added <a href="./techniques/css/C40">Creating a two-color focus indicator to ensure sufficient contrast</a></li>

<li>

<time datetime="2019-07-10">Jul 10th 2019</time>: Added <a href="./techniques/failures/F99">Failure of Success Criterion 2.1.4 due to implementing character key shortcuts that
cannot be turned off or remapped</a></li>

<li>

<time datetime="2019-07-10">Jul 10th 2019</time>: Added <a href="./client-side-script/SCR39">Making content on focus or hover hoverable, dismissible, and persistent</a></li>

<li>

<time datetime="2019-06-18">Jun 18th 2019</time>: Added <a href="./general/G212">Using native controls to ensure functionality is triggered on the up-event</a></li>

<li>

<time datetime="2019-06-11">Jun 11 2019</time>: Added <a href="./failures/F98">Failure of Success Criterion 2.5.6 due to interactions being limited to touch-only
on touchscreen devices</a></li>

<li>

<time datetime="2019-06-18">Jun 18th 2019</time>: Added <a href="./general/G213">Provide conventional controls and an application setting for motion activated input</a></li>

<li>

<time datetime="2019-05-25">May 25th 2019</time>: Added <a href="./aria/ARIA24">Semantically identifying a font icon with role="img"</a></li>

<li>

<time datetime="2019-04-20">Apr 26th 2019</time>: Added <a href="./failures/F97">Failure due to locking the orientation to landscape or portrait view</a></li>

<li>

<time datetime="2019-02-26">Feb 26th 2019</time>: Removed <a href="./failures/F52">F52</a> from SC 3.2.1 (still attached to SC 3.2.5)

</li>

<li>

<time datetime="2019-02-26">Feb 26th 2019</time>: Added <a href="./general/G209">Provide sufficient contrast at the boundaries between adjoining colors</a></li>

<li>

<time datetime="2019-01-10">Jan 10th 2019</time>: Added <a href="./css/C39">Using the CSS reduce-motion query to prevent motion</a></li>

<li>

<time datetime="2018-12-14">Dec 14th 2018</time>: Added <a href="./general/G207">Ensuring that a contrast ratio of 3:1 is provided for icons</a></li>

<li>

<time datetime="2018-11-13">Nov 30th 2018</time>: Added <a href="./css/C38">Using CSS width, max-width and flexbox to fit labels and inputs</a></li>

<li>

<time datetime="2018-11-30">Nov 30th 2018</time>: Added <a href="./failures/F95">F95 of 1.4.13 due to content shown on hover not being hoverable</a></li>

<li>

<time datetime="2018-11-13">Nov 13th 2018</time>: Added <a href="./css/C34">C34 Using media queries to un-fixing sticky headers / footers</a></li>

<li>

<time datetime="2018-11-13">Nov 13th 2018</time>: Added <a href="./css/C36">C36 Allowing for text spacing override</a></li>

<li>

<time datetime="2018-11-13">Nov 13th 2018</time>: Added <a href="./css/C37">C37 Using CSS max-width and height to fit images</a></li>

<li>

<time datetime="2018-11-30">Nov 30th 2018</time>: Added <a href="./general/G207">G207 Ensuring that drag-and-drop actions can be cancelled</a></li>

<li>

<time datetime="2018-11-30">Nov 30th 2018</time>: Added <a href="./failures/F95">F95 Failure of Success Criterion 1.4.13 due to content shown on hover not being hoverable</a></li>

<li>

<time datetime="2018-11-30">Nov 30th 2018</time>: Added <a href="./failures/F96">F96 Failure of Success Criterion 2.5.3 due to "accessible name" not containing the
visible label text</a></li>

<li>

<time datetime="2018-11-30">Nov 30th 2018</time>: Added <a href="./css/C38">C38 Using CSS width, max-width and flexbox to fit labels and inputs</a></li>

<li>

<time datetime="2018-12-14">Dec 14th 2018</time>: Added <a href="./general/G207">G207 Ensuring that a contrast ratio of 3:1 is provided for icons</a></li>

</ol>

<p>For a more detailed view of recent changes to the informative documents see the <a href="https://github.com/w3c/wcag/commits/master">github updates</a>.

</p>

</details>
<h2>Change Log</h2>
<p>For a detailed view of recent changes to the informative documents see the <a href="https://github.com/w3c/wcag/commits/">GitHub updates</a>.</p>
</section>

<section id="acknowledgements">
Expand Down
32 changes: 19 additions & 13 deletions techniques/aria/ARIA20.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html><html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"><head><title>Using the region role to identify a region of the page</title><link rel="stylesheet" type="text/css" href="../../css/editors.css" class="remove"/></head><body><h1>Using the region role to identify a region of the page</h1><section class="meta"><p class="id">ID: ARIA20</p><p class="technology">Technology: aria</p><p class="type">Type: Technique</p></section><section id="applicability"><h2>When to Use</h2>
<p>Technologies that support <a href="https://www.w3.org/TR/wai-aria/">Accessible Rich Internet Applications</a>.</p>
</section><section id="description"><h2>Description</h2>
<p>This technique demonstrates how to assign a generic <code class="language-html">region</code> role to a section of a page so that user agents and assistive technologies may be able to programmatically identify it. The <code class="language-html">region</code> role demarcates a segment of the page that contains content of significance so that it is more readily discoverable and navigable. The generic region should be used when the section cannot be marked up using a standard document landmark role (see <a href="https://www.w3.org/WAI/WCAG21/Techniques/aria/ARIA11">ARIA11</a>).</p>
<p>This technique demonstrates how to assign a generic <code class="language-html">region</code> role to a section of a page so that user agents and assistive technologies may be able to programmatically identify it. The <code class="language-html">region</code> role demarcates a segment of the page that contains content of significance so that it is more readily discoverable and navigable. The generic region should be used when the section cannot be marked up using a standard document landmark role (see <a href="../aria/ARIA11">ARIA11</a>).</p>
<p>It is important to name regions, because they are generic grouping elements and users will need some way to tell which region they are in. Regions can be named using <code class="language-html">aria-labelledby</code>, <code class="language-html">aria-label</code>, or another technique. Doing so helps to better expose content and information relationships on the page. The role of <code class="language-html">region</code> should be used prudently, because if overused they can make the page overly verbose for screen reader users.</p>
</section><section id="examples"><h2>Examples</h2>
<section class="example">
Expand Down Expand Up @@ -92,16 +92,22 @@ <h3>Identifying a portlet with a generic region</h3>
<li>Checks #1-3 are true.</li>
</ul>
</section>
</section><section id="related"><h2>Related Techniques</h2><ul>
<li><a href="../aria/ARIA11">ARIA11</a></li>
<li><a href="../aria/ARIA12">ARIA12</a></li>
<li><a href="../aria/ARIA13">ARIA13</a></li>
</ul></section><section id="resources"><h2>Resources</h2>

<ul>
<li>
<a href="https://www.w3.org/TR/wai-aria/#region">The Roles Model (role=region)</a>
</li>
</ul>
</section>
</body></html>
<section id="related">
<h2>Related Techniques</h2>
<ul>
<li><a href="../aria/ARIA11">ARIA11</a></li>
<li><a href="../aria/ARIA12">ARIA12</a></li>
<li><a href="../aria/ARIA13">ARIA13</a></li>
</ul>
</section>
<section id="resources">
<h2>Resources</h2>
<ul>
<li>
<a href="https://www.w3.org/TR/wai-aria/#region">The Roles Model (role=region)</a>
</li>
</ul>
</section>
</body>
</html>
6 changes: 2 additions & 4 deletions techniques/aria/ARIA22.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ <h2>When to Use</h2>
<section id="description">
<h2>Description</h2>
<p>
This technique uses the <code>status</code> role from the ARIA specification to notify Assistive Technologies (AT) when content has been updated with information about the user's or application's status. This is done by adding <code>role="status"</code> to the element that contains the <a href="https://www.w3.org/TR/WCAG21/#dfn-status-messages">status message</a>. The aria live region role of <code>status</code> has an implicit <code>aria-live</code> value of <code>polite</code>, which allows a user to be notified via AT (such as a screen reader) when status messages are added. The role of <code>status</code> also has a default <code>aria-atomic</code> value of <code>true</code>, so that updates to the container marked with a role of <code>status</code> will result in the AT presenting the entire contents of the container to the user, including any author-defined labels (or additional nested elements). Such additional context can be critical where the status message text alone will not provide an equivalent to the visual experience. The content of the aria-live container is automatically read by the AT, without the AT having to focus on the place where the text is displayed. See <a href="https://www.w3.org/TR/wai-aria-1.1/#status">WAI-ARIA 1.1 status (role)</a> for more details.

</p>
This technique uses the <code>status</code> role from the ARIA specification to notify Assistive Technologies (AT) when content has been updated with information about the user's or application's status. This is done by adding <code>role="status"</code> to the element that contains the <a href="/TR/WCAG/#dfn-status-messages">status message</a>. The aria live region role of <code>status</code> has an implicit <code>aria-live</code> value of <code>polite</code>, which allows a user to be notified via AT (such as a screen reader) when status messages are added. The role of <code>status</code> also has a default <code>aria-atomic</code> value of <code>true</code>, so that updates to the container marked with a role of <code>status</code> will result in the AT presenting the entire contents of the container to the user, including any author-defined labels (or additional nested elements). Such additional context can be critical where the status message text alone will not provide an equivalent to the visual experience. The content of the aria-live container is automatically read by the AT, without the AT having to focus on the place where the text is displayed. See <a href="https://www.w3.org/TR/wai-aria/#status">WAI-ARIA status (role)</a> for more details.</p>

</section>
<section id="examples">
Expand All @@ -47,7 +45,7 @@ <h3>Updating the shopping cart status</h3>
<h2>Tests</h2>
<section class="test-procedure">
<h3>Procedure</h3>
<p>For each <a href="https://www.w3.org/TR/WCAG21/#dfn-status-messages">status message</a>:</p>
<p>For each <a href="/TR/WCAG/#dfn-status-messages">status message</a>:</p>
<ol>
<li>Check that the container destined to hold the status message has a <code class="language-html">role</code> attribute with a value of <code class="language-html">status</code> <em>before</em> the status message occurs.</li>
<li>Check that when the status message is triggered, it is inside the container.</li>
Expand Down
2 changes: 1 addition & 1 deletion techniques/client-side-script/SCR19.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
<a href="http://usability.com.au/2008/09/accessible-forms-using-wcag-2-0/">Accessible Forms using WCAG 2.0</a>
</li>
<li>
<a href="https://www.w3.org/TR/WCAG21/#dfn-change-of-context">Change of context definition</a>
<a href="/TR/WCAG/#dfn-change-of-context">Change of context definition</a>
</li>
</ul>

Expand Down
Loading