Skip to content

Commit 32e406c

Browse files
committed
Revise Titles of Tabs Examples
Made the titles of the examples: 1. "Tabs With Automatic Activation" 2. "Tabs With Manual Activation" modified examples subsection of the tabs pattern in aria-practices.html: * Changed link text of links to examples * Added descriptions of examples after each link modified examples/tabs/tabs-1/tabs.html: * Changed title tab and H1 to "Tabs With Automatic Activation" * Changed link text and description for the link to the manual activation tabs example. modified examples/tabs/tabs-2/tabs.html * Changed title tab and H1 to "Tabs With Manual Activation" * Changed link text and description for the link to the automatic activation tabs example.
1 parent 3d6f84e commit 32e406c

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

aria-practices.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1833,10 +1833,10 @@ <h4>WAI-ARIA Roles, States, and Properties</h4>
18331833
</ul>
18341834
</section>
18351835
<section class="notoc">
1836-
<h4>Example</h4>
1836+
<h4>Examples</h4>
18371837
<ul>
1838-
<li><a href="examples/tabs-1/tabs.html">Tabs Widget Example (Follows focus)</a></li>
1839-
<li><a href="examples/tabs-2/tabs.html">Tabs Widget Example (Manual activation)</a></li>
1838+
<li><a href="examples/tabs-1/tabs.html">Tabs With Automatic Activation</a>: A tabs widget where tabs are automatically activated and their panel is displayed when they receive focus.</li>
1839+
<li><a href="examples/tabs-2/tabs.html">Tabs With Manual Activation</a>: A tabs widget where users activate a tab and display its panel by pressing <kbd>Space</kbd> or <kbd>Enter</kbd>.</li>
18401840
</ul>
18411841
</section>
18421842
</section>

examples/tabs/tabs-1/tabs.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
5-
<title>Tabs (Follows focus) | WAI-ARIA Authoring Practices 1.1</title>
5+
<title>Tabs With Automatic Activation | WAI-ARIA Authoring Practices 1.1</title>
66

77
<!-- Core js and css shared by all examples; do not modify when using this template. -->
88
<link href="../../css/core.css" rel="stylesheet">
@@ -13,16 +13,14 @@
1313
</head>
1414
<body>
1515
<main>
16-
<h1>Tabs (Follows focus)</h1>
17-
16+
<h1>Tabs With Automatic Activation</h1>
1817
<p>
1918
This example section demonstrates a tabs widget that implements the <a href="../../../#tabpanel">design pattern for tabs</a>.
2019
In this example panels are automatically activated when its tab receives focus.
2120
</p>
2221
<p>Similar examples include: </p>
2322
<ul>
24-
<li><a href="../tabs-2/tabs.html">Tabs (Manual activation)</a>: a version of the tabs widget where tabs have to be manually activated via <kbd>space</kbd> or <kbd>enter</kbd>.</li>
25-
<!-- list other examples that implement the same design pattern. -->
23+
<li><a href="../tabs-2/tabs.html">Tabs With Manual Activation</a>: A tabs widget where users activate a tab and display its panel by pressing <kbd>Space</kbd> or <kbd>Enter</kbd>.</li>
2624
</ul>
2725

2826
<section>

examples/tabs/tabs-2/tabs.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<!-- Give this example implementation a name and put it in the title element, e.g., "Checkbox" if implementing the checkbox pattern.
1313
The name should be unique if the pattern will have multiple implementations, e.g., "Simple Two-State Checkbox" or "Three-State Checkbox".
1414
-->
15-
<title>Tabs (Manual activation) | WAI-ARIA Authoring Practices 1.1</title>
15+
<title>Tabs With Manual Activation | WAI-ARIA Authoring Practices 1.1</title>
1616

1717
<!-- Core js and css shared by all examples; do not modify when using this template. -->
1818
<link href="../../css/core.css" rel="stylesheet">
@@ -38,7 +38,7 @@ <h1>Tabs (Manual activation)</h1>
3838

3939
<p>Similar examples include: </p>
4040
<ul>
41-
<li><a href="../tabs-1/tabs.html">Tabs (Follows focus)</a>: a version of the tabs widget where tabs are automatically activated when they receive focus.</li>
41+
<li><a href="../tabs-1/tabs.html">Tabs With Automatic Activation</a>: A tabs widget where tabs are automatically activated and their panel is displayed when they receive focus.</li>
4242
<!-- list other examples that implement the same design pattern. -->
4343
</ul>
4444

0 commit comments

Comments
 (0)