Skip to content

Commit

Permalink
All Example pages: Change APG version from 1.1 to 1.2 (pull #1226)
Browse files Browse the repository at this point in the history
Resolves #1225 with the following changes:
* Fix source formatting in a few example page title and footer nav elements
* breadcrumb example: remove reference to 1.1 in relative file path
* Change to relative url in toolbar/help.html
* Update aria practices version in example code templates
* Update every example page title and footer to 1.2
  • Loading branch information
spectranaut authored and mcking65 committed Oct 29, 2019
1 parent e80972a commit c8546fe
Show file tree
Hide file tree
Showing 52 changed files with 106 additions and 110 deletions.
4 changes: 2 additions & 2 deletions examples/accordion/accordion.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<title>Accordion Example | WAI-ARIA Authoring Practices 1.1</title>
<title>Accordion Example | WAI-ARIA Authoring Practices 1.2</title>
<!-- Core js and css shared by all examples; do not modify when using this template. -->
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2016/base.css">
<link rel="stylesheet" href="../css/core.css">
Expand Down Expand Up @@ -344,7 +344,7 @@ <h2 id="sc1_label">HTML Source Code</h2>

</main>
<nav>
<a href="../../#accordion">Accordion Design Pattern in WAI-ARIA Authoring Practices 1.1</a>
<a href="../../#accordion">Accordion Design Pattern in WAI-ARIA Authoring Practices 1.2</a>
</nav>
<script src="js/accordion.js"></script>
</body>
Expand Down
4 changes: 2 additions & 2 deletions examples/alert/alert.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Alert Example | WAI-ARIA Authoring Practices 1.1</title>
<title>Alert Example | WAI-ARIA Authoring Practices 1.2</title>

<!-- Core js and css shared by all examples; do not modify when using this template. -->
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2016/base.css">
Expand Down Expand Up @@ -137,7 +137,7 @@ <h2 id="sc1_label">HTML Source Code</h2>
</section>
</main>
<nav>
<a href="../../#alert">Alert Design Pattern in WAI-ARIA Authoring Practices 1.1</a>
<a href="../../#alert">Alert Design Pattern in WAI-ARIA Authoring Practices 1.2</a>
</nav>
</body>
</html>
6 changes: 3 additions & 3 deletions examples/breadcrumb/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Breadcrumb Example | WAI-ARIA Authoring Practices 1.1</title>
<title>Breadcrumb Example | WAI-ARIA Authoring Practices 1.2</title>

<!-- Core js and css shared by all examples; do not modify when using this template. -->
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2016/base.css">
Expand Down Expand Up @@ -32,7 +32,7 @@ <h2 id="ex_label">Example</h2>
<nav aria-label="Breadcrumb" class="breadcrumb">
<ol>
<li>
<a href="../../">WAI-ARIA Authoring Practices 1.1</a>
<a href="../../">WAI-ARIA Authoring Practices</a>
</li>
<li>
<a href="../../#aria_ex">Design Patterns</a>
Expand Down Expand Up @@ -134,7 +134,7 @@ <h2 id="sc1_label">HTML Source Code</h2>
</main>

<nav>
<a href="../../#breadcrumb">Breadcrumb Design Pattern in WAI-ARIA Authoring Practices 1.1</a>
<a href="../../#breadcrumb">Breadcrumb Design Pattern in WAI-ARIA Authoring Practices 1.2</a>
</nav>
</body>
</html>
4 changes: 2 additions & 2 deletions examples/button/button.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
<title>Button Examples | WAI-ARIA Authoring Practices 1.1</title>
<title>Button Examples | WAI-ARIA Authoring Practices 1.2</title>

<!-- Core JS and CSS shared by all examples. Do not modify when using this template. -->
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2016/base.css">
Expand Down Expand Up @@ -183,7 +183,7 @@ <h2 id="sc1_label">HTML Source Code</h2>
</main>

<nav>
<a href="../../#button">Button Design Pattern in WAI-ARIA Authoring Practices 1.1</a>
<a href="../../#button">Button Design Pattern in WAI-ARIA Authoring Practices 1.2</a>
</nav>
</body>
</html>
4 changes: 2 additions & 2 deletions examples/carousel/carousel-1.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Auto-Rotating Image Carousel Example | WAI-ARIA Authoring Practices 1.1</title>
<title>Auto-Rotating Image Carousel Example | WAI-ARIA Authoring Practices 1.2</title>

<!-- Core js and css shared by all examples; do not modify when using this template. -->
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2016/base.css">
Expand Down Expand Up @@ -533,7 +533,7 @@ <h2 id="sc1_label">HTML Source Code</h2>
</main>

<nav>
<a href="../../#carousel">Carousel Pattern in WAI-ARIA Authoring Practices 1.1</a>
<a href="../../#carousel">Carousel Pattern in WAI-ARIA Authoring Practices 1.2</a>
</nav>

</body>
Expand Down
4 changes: 2 additions & 2 deletions examples/checkbox/checkbox-1/checkbox-1.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Checkbox Example (Two State) | WAI-ARIA Authoring Practices 1.1</title>
<title>Checkbox Example (Two State) | WAI-ARIA Authoring Practices 1.2</title>

<!-- Core js and css shared by all examples; do not modify when using this template. -->
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2016/base.css">
Expand Down Expand Up @@ -201,7 +201,7 @@ <h3 id="sc1_label">Simple Two-State Checkbox Example</h3>
</section>
</main>
<nav>
<a href="../../../#checkbox">Checkbox Design Pattern in WAI-ARIA Authoring Practices 1.1</a>
<a href="../../../#checkbox">Checkbox Design Pattern in WAI-ARIA Authoring Practices 1.2</a>
</nav>
</body>
</html>
4 changes: 2 additions & 2 deletions examples/checkbox/checkbox-2/checkbox-2.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Checkbox Example (Mixed-State) | WAI-ARIA Authoring Practices 1.1</title>
<title>Checkbox Example (Mixed-State) | WAI-ARIA Authoring Practices 1.2</title>

<!-- Core js and css shared by all examples; do not modify when using this template. -->
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2016/base.css">
Expand Down Expand Up @@ -216,7 +216,7 @@ <h2 id="sc1_label">HTML Source Code</h2>
</section>
</main>
<nav>
<a href="../../../#checkbox">Checkbox Design Pattern in WAI-ARIA Authoring Practices 1.1</a>
<a href="../../../#checkbox">Checkbox Design Pattern in WAI-ARIA Authoring Practices 1.2</a>
</nav>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
The name should be unique if the pattern will have multiple implementations,
e.g., "Simple Two-State Checkbox" or "Three-State Checkbox".
-->
<title>EXAMPLE_NAME | WAI-ARIA Authoring Practices 1.1</title>
<title>EXAMPLE_NAME | WAI-ARIA Authoring Practices 1.2</title>

<!-- Core js and css shared by all examples; do not modify when using this template. -->
<link href="../css/core.css" rel="stylesheet">
Expand Down Expand Up @@ -297,7 +297,7 @@ <h3 id="sc3_label">Example 3: title of this variation of the implementation</h3>
</main>
<nav>
<!-- Update the pattern_ID parameter of this link to refer to the APG design pattern section related to this example. -->
<a href="../../#pattern_ID">EXAMPLE_NAME Design Pattern in WAI-ARIA Authoring Practices 1.1</a>
<a href="../../#pattern_ID">EXAMPLE_NAME Design Pattern in WAI-ARIA Authoring Practices 1.2</a>
</nav>
</body>
</html>
4 changes: 2 additions & 2 deletions examples/coding-template/Example-Template.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
The name should be unique if the pattern will have multiple implementations,
e.g., "Simple Two-State Checkbox" or "Three-State Checkbox".
-->
<title>EXAMPLE_NAME Example | WAI-ARIA Authoring Practices 1.1</title>
<title>EXAMPLE_NAME Example | WAI-ARIA Authoring Practices 1.2</title>

<!-- Core js and css shared by all examples; do not modify when using this template. -->
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2016/base.css">
Expand Down Expand Up @@ -219,7 +219,7 @@ <h2 id="sc1_label">HTML Source Code</h2>
</main>
<nav>
<!-- Update the pattern_ID parameter of this link to refer to the APG design pattern section related to this example. -->
<a href="../../#pattern_ID">EXAMPLE_NAME Design Pattern in WAI-ARIA Authoring Practices 1.1</a>
<a href="../../#pattern_ID">EXAMPLE_NAME Design Pattern in WAI-ARIA Authoring Practices 1.2</a>
</nav>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Legacy ARIA 1.0 Combobox With Both List and Inline Autocomplete Example | WAI-ARIA Authoring Practices
1.1</title>
<title>Legacy ARIA 1.0 Combobox With Both List and Inline Autocomplete Example | WAI-ARIA Authoring Practices 1.2</title>

<!-- Core js and css shared by all examples; do not modify when using this template. -->
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2016/base.css">
Expand Down Expand Up @@ -477,7 +476,7 @@ <h2 id="sc1_label">HTML Source Code</h2>
</section>
</main>
<nav>
<a href="../../../#combobox">Combobox Design Pattern in WAI-ARIA Authoring Practices 1.1</a>
<a href="../../../#combobox">Combobox Design Pattern in WAI-ARIA Authoring Practices 1.2</a>
</nav>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Legacy ARIA 1.0 Combobox With List Autocomplete Example | WAI-ARIA Authoring Practices 1.1</title>
<title>Legacy ARIA 1.0 Combobox With List Autocomplete Example | WAI-ARIA Authoring Practices 1.2</title>

<!-- Core js and css shared by all examples; do not modify when using this template. -->
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2016/base.css">
Expand Down Expand Up @@ -465,7 +465,7 @@ <h2 id="sc1_label">HTML Source Code</h2>
</section>
</main>
<nav>
<a href="../../../#combobox">Combobox Design Pattern in WAI-ARIA Authoring Practices 1.1</a>
<a href="../../../#combobox">Combobox Design Pattern in WAI-ARIA Authoring Practices 1.2</a>
</nav>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Legacy ARIA 1.0 Combobox without Autocomplete Example | WAI-ARIA Authoring Practices 1.0</title>
<title>Legacy ARIA 1.0 Combobox without Autocomplete Example | WAI-ARIA Authoring Practices 1.2</title>

<!-- Core js and css shared by all examples; do not modify when using this template. -->
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2016/base.css">
Expand Down Expand Up @@ -415,7 +415,7 @@ <h2 id="sc1_label">HTML Source Code</h2>
</section>
</main>
<nav>
<a href="../../../#combobox">Combobox Design Pattern in WAI-ARIA Authoring Practices 1.1</a>
<a href="../../../#combobox">Combobox Design Pattern in WAI-ARIA Authoring Practices 1.2</a>
</nav>
</body>
</html>
4 changes: 2 additions & 2 deletions examples/combobox/aria1.1pattern/grid-combo.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<title>ARIA 1.1 Combobox with Grid Popup Example | WAI-ARIA Authoring Practices 1.1</title>
<title>ARIA 1.1 Combobox with Grid Popup Example | WAI-ARIA Authoring Practices 1.2</title>

<!-- Core js and css shared by all examples; do not modify when using this template. -->
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2016/base.css">
Expand Down Expand Up @@ -449,7 +449,7 @@ <h2 id="sc1_label">HTML Source Code</h2>
</section>
</main>
<nav>
<a href="../../../#combobox">Combobox Design Pattern in WAI-ARIA Authoring Practices 1.1</a>
<a href="../../../#combobox">Combobox Design Pattern in WAI-ARIA Authoring Practices 1.2</a>
</nav>
</body>
</html>
4 changes: 2 additions & 2 deletions examples/combobox/aria1.1pattern/listbox-combo.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<title>ARIA 1.1 Combobox with Listbox Popup Examples | WAI-ARIA Authoring Practices 1.1</title>
<title>ARIA 1.1 Combobox with Listbox Popup Examples | WAI-ARIA Authoring Practices 1.2</title>

<!-- Core js and css shared by all examples; do not modify when using this template. -->
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2016/base.css">
Expand Down Expand Up @@ -573,7 +573,7 @@ <h3 id="sc3_label">Example 3</h3>
</section>
</main>
<nav>
<a href="../../../#combobox">combobox design pattern in WAI-ARIA Authoring Practices 1.1</a>
<a href="../../../#combobox">combobox design pattern in WAI-ARIA Authoring Practices 1.2</a>
</nav>
</body>
</html>
4 changes: 2 additions & 2 deletions examples/dialog-modal/alertdialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Alert Dialog Example | WAI-ARIA Authoring Practices 1.1</title>
<title>Alert Dialog Example | WAI-ARIA Authoring Practices 1.2</title>
<!-- Core js and css shared by all examples; do not modify when using this template. -->
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2016/base.css">
<link rel="stylesheet" href="../css/core.css">
Expand Down Expand Up @@ -230,7 +230,7 @@ <h2 id="sc1_label">HTML Source Code</h2>
</section>
</main>
<nav>
<a href="../../#alertdialog">Alert and Message Dialogs Design Pattern in WAI-ARIA Authoring Practices 1.1</a>
<a href="../../#alertdialog">Alert and Message Dialogs Design Pattern in WAI-ARIA Authoring Practices 1.2</a>
</nav>
</body>
</html>
4 changes: 2 additions & 2 deletions examples/dialog-modal/datepicker-dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Date Picker Dialog Example | WAI-ARIA Authoring Practices 1.1</title>
<title>Date Picker Dialog Example | WAI-ARIA Authoring Practices 1.2</title>

<!-- Core js and css shared by all examples; do not modify when using this template. -->
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2016/base.css">
Expand Down Expand Up @@ -633,7 +633,7 @@ <h2 id="sc1_label">HTML Source Code</h2>
</section>
</main>
<nav>
<a href="../../#dialog-modal">Dialog Design Pattern in WAI-ARIA Authoring Practices 1.1</a>
<a href="../../#dialog-modal">Dialog Design Pattern in WAI-ARIA Authoring Practices 1.2</a>
</nav>
</body>
</html>
4 changes: 2 additions & 2 deletions examples/dialog-modal/dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Modal Dialog Example | WAI-ARIA Authoring Practices 1.1</title>
<title>Modal Dialog Example | WAI-ARIA Authoring Practices 1.2</title>

<meta name="viewport" content="width=device-width, initial-scale=1.0">

Expand Down Expand Up @@ -233,7 +233,7 @@ <h2 id="sc1_label">HTML Source Code</h2>
</section>
</main>
<nav>
<a href="../../#dialog_modal">Modal Dialog Design Pattern in WAI-ARIA Authoring Practices 1.1</a>
<a href="../../#dialog_modal">Modal Dialog Design Pattern in WAI-ARIA Authoring Practices 1.2</a>
</nav>
<div id="dialog_layer" class="dialogs">
<div role="dialog" id="dialog1" aria-labelledby="dialog1_label" aria-modal="true" class="hidden">
Expand Down
6 changes: 2 additions & 4 deletions examples/disclosure/disclosure-faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Example Disclosure (Show/Hide) for Answers to Frequently Asked Questions | WAI-ARIA Authoring
Practices 1.1</title>
<title>Example Disclosure (Show/Hide) for Answers to Frequently Asked Questions | WAI-ARIA Authoring Practices 1.2</title>

<!-- Core js and css shared by all examples; do not modify when using this template. -->
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2016/base.css">
Expand Down Expand Up @@ -247,8 +246,7 @@ <h2 id="sc1_label">HTML Source Code</h2>
</section>
</main>
<nav>
<a href="../../#disclosure">Disclosure (Show/Hide) Design Pattern in WAI-ARIA Authoring
Practices 1.1</a>
<a href="../../#disclosure">Disclosure (Show/Hide) Design Pattern in WAI-ARIA Authoring Practices 1.2</a>
</nav>
</body>
</html>
4 changes: 2 additions & 2 deletions examples/disclosure/disclosure-img-long-description.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Example Disclosure (Show/Hide) for Image Description | WAI-ARIA Authoring Practices 1.1</title>
<title>Example Disclosure (Show/Hide) for Image Description | WAI-ARIA Authoring Practices 1.2</title>

<!-- Core js and css shared by all examples; do not modify when using this template. -->
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2016/base.css">
Expand Down Expand Up @@ -397,7 +397,7 @@ <h2 id="sc1_label">HTML Source Code</h2>
</section>
</main>
<nav>
<a href="../../#disclosure">Disclosure (Show/Hide) Design Pattern in WAI-ARIA Authoring Practices 1.1</a>
<a href="../../#disclosure">Disclosure (Show/Hide) Design Pattern in WAI-ARIA Authoring Practices 1.2</a>
</nav>
</body>
</html>
5 changes: 2 additions & 3 deletions examples/disclosure/disclosure-navigation.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Example Disclosure for Navigation Menus | WAI-ARIA Authoring
Practices 1.1</title>
<title>Example Disclosure for Navigation Menus | WAI-ARIA Authoring Practices 1.2</title>

<!-- Core js and css shared by all examples; do not modify when using this template. -->
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2016/base.css">
Expand Down Expand Up @@ -368,7 +367,7 @@ <h2 id="sc1_label">HTML Source Code</h2>
</section>
</main>
<nav>
<a href="../../#disclosure">Disclosure (Show/Hide) Design Pattern in WAI-ARIA Authoring Practices 1.1</a>
<a href="../../#disclosure">Disclosure (Show/Hide) Design Pattern in WAI-ARIA Authoring Practices 1.2</a>
</nav>
</body>
</html>
4 changes: 2 additions & 2 deletions examples/feed/feed.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Feed Example | WAI-ARIA Authoring Practices 1.1</title>
<title>Feed Example | WAI-ARIA Authoring Practices 1.2</title>

<!-- Core js and css shared by all examples; do not modify when using this template. -->
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2016/base.css">
Expand Down Expand Up @@ -208,7 +208,7 @@ <h2 id="sc1_label">HTML Source Code</h2>
</section>
</main>
<nav>
<a href="../../#feed">Feed Design Pattern in WAI-ARIA Authoring Practices 1.1</a>
<a href="../../#feed">Feed Design Pattern in WAI-ARIA Authoring Practices 1.2</a>
</nav>
</body>
</html>
2 changes: 1 addition & 1 deletion examples/feed/feedDisplay.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Feed Display | WAI-ARIA Authoring Practices 1.1</title>
<title>Feed Display | WAI-ARIA Authoring Practices 1.2</title>

<!-- Core js and css shared by all examples; do not modify when using this template. -->
<link href="../css/core.css" rel="stylesheet">
Expand Down
Loading

0 comments on commit c8546fe

Please sign in to comment.