diff --git a/examples/accordion/accordion1.html b/examples/accordion/accordion1.html
index 227766c13f..a227135bff 100644
--- a/examples/accordion/accordion1.html
+++ b/examples/accordion/accordion1.html
@@ -5,9 +5,11 @@
Accordion Example | WAI-ARIA Authoring Practices 1.1
-
-
-
+
+
+
+
+
@@ -146,7 +148,7 @@ Example
Keyboard Support
-
+
Key
@@ -155,7 +157,7 @@ Keyboard Support
- Space or Enter
+ Space or Enter
When focus is on the accordion header of a collapsed section, expands the section.
@@ -167,7 +169,7 @@ Role, Property, State, and Tabindex Attributes
-
+
Role
@@ -286,12 +288,12 @@ Javascript and CSS Source Code
HTML Source Code
-
+
+ sourceCode.add('sc1', 'coding-arena');
+ sourceCode.make();
+
diff --git a/examples/alert/index.html b/examples/alert/index.html
index aa3f3e075d..663e4b779a 100644
--- a/examples/alert/index.html
+++ b/examples/alert/index.html
@@ -5,8 +5,11 @@
Alert Example | WAI-ARIA Authoring Practices 1.1
-
-
+
+
+
+
+
@@ -55,7 +58,7 @@ Keyboard Support
Role, Property, State, and Tabindex Attributes
-
+
Role
diff --git a/examples/breadcrumb/css/breadcrumb.css b/examples/breadcrumb/css/breadcrumb.css
index 853e268080..372ab35236 100644
--- a/examples/breadcrumb/css/breadcrumb.css
+++ b/examples/breadcrumb/css/breadcrumb.css
@@ -1,8 +1,8 @@
nav.breadcrumb {
padding: 0.8em 1em;
- border: 1px solid #f5f5f5;
+ border: 1px solid hsl(0, 0%, 90%);
border-radius: 4px;
- background: #FCFBFC;
+ background: hsl(300, 14%, 97%);
}
nav.breadcrumb ol {
@@ -15,12 +15,6 @@ nav.breadcrumb li {
display: inline;
}
-/*nav.breadcrumb li + li::before {
- display: inline-block;
- content: url('../images/slash.svg');
- vertical-align: middle;
-}*/
-
nav.breadcrumb li + li::before {
display: inline-block;
margin: 0 .25em;
@@ -30,17 +24,6 @@ nav.breadcrumb li + li::before {
content: '';
}
-nav.breadcrumb a {
- color: #2F72C8;
- text-decoration: none;
-}
-
-nav.breadcrumb a:focus,
-nav.breadcrumb a:hover {
- text-decoration: underline;
- background: transparent;
-}
-
nav.breadcrumb [aria-current="page"] {
color: #000;
font-weight: 700;
diff --git a/examples/breadcrumb/index.html b/examples/breadcrumb/index.html
index 6109186b6f..fd1675b06b 100644
--- a/examples/breadcrumb/index.html
+++ b/examples/breadcrumb/index.html
@@ -4,9 +4,13 @@
Breadcrumb Example | WAI-ARIA Authoring Practices 1.1
-
-
-
+
+
+
+
+
+
+
@@ -61,7 +65,7 @@ Keyboard Support
Role, Property, State, and Tabindex Attributes
-
+
Role
@@ -112,7 +116,7 @@ Javascript and CSS Source Code
HTML Source Code
-
+
+
+
+
-
@@ -38,21 +30,21 @@ Button Examples
Action Button
Print button uses a div
element.
Print Page
-
+
Toggle Button
Mute button uses a a
element.
-
-
+
+
Keyboard Support
-
+
Key
@@ -71,7 +63,7 @@ Keyboard Support
ARIA Roles, Properties and States
-
+
Role
@@ -164,19 +156,19 @@ HTML Source Code
Action Button
-
+
Toggle Button
-
+
diff --git a/examples/checkbox/checkbox-1/checkbox-1.html b/examples/checkbox/checkbox-1/checkbox-1.html
index 82621ce56f..9fde76b3cc 100644
--- a/examples/checkbox/checkbox-1/checkbox-1.html
+++ b/examples/checkbox/checkbox-1/checkbox-1.html
@@ -4,12 +4,15 @@
Checkbox Example (Two State) | WAI-ARIA Authoring Practices 1.1
-
-
-
-
+
+
+
+
+
+
+
-
+
@@ -38,7 +41,7 @@ Sandwich Condiments
-
+
@@ -58,7 +61,7 @@ Sandwich Condiments
Keyboard Support
-
+
Key
@@ -71,24 +74,24 @@ Keyboard Support
Moves keyboard focus to the checkbox
.
-
+
Space
- Toggle check checkbox between checked and unchecked.
-
+ Toggle check checkbox between checked and unchecked.
+
-
-
+
+
Role, Property, State, and Tabindex Attributes
-
+
Role
@@ -107,7 +110,7 @@ Role, Property, State, and Tabindex Attributes
The role="checkbox"
attribute identifies the div
element as a ARIA checkbox
.
The accessible name comes the child text content of the div[role="checkbox"]
element.
The checkbox
widget needs a tabindex="0"
value.
-
+
@@ -117,7 +120,7 @@ Role, Property, State, and Tabindex Attributes
The div["checkbox"]
is identified as an ineractive element and is added to the tab order of the page by setting the tabindex="0"
.
-
+
@@ -129,7 +132,7 @@ Role, Property, State, and Tabindex Attributes
Indentifies the checkbox
button as unchecked.
CSS attribute selectors (e.g. [aria-checked="false"]
) are used to synchronize the visual states with the value of the aria-checked
attribute.
The CSS :before
psuedo selector and the content
property are used to indcate visual state of "unchecked" to support high contrast setting in operating systems and browsers.
-
+
@@ -141,13 +144,13 @@ Role, Property, State, and Tabindex Attributes
Indentifies the checkbox
as checked.
CSS attribute selectors (e.g. [aria-checked="true"]
) are used to synchronize the visual states with the value of the aria-checked
attribute.
The CSS :before
psuedo selector and the content
property are used to indcate visual state of "checked" to support high contrast setting in operating systems and browsers.
-
+
-
+
Javascript and CSS Source Code
@@ -164,7 +167,7 @@ Javascript and CSS Source Code
HTML Source Code
Simple Two-State Checkbox Example
-
+
-
+
Checkbox Design Pattern in WAI-ARIA Authoring Practices 1.1
diff --git a/examples/checkbox/checkbox-2/checkbox-2.html b/examples/checkbox/checkbox-2/checkbox-2.html
index 6759cf4d80..fd727a6d7a 100644
--- a/examples/checkbox/checkbox-2/checkbox-2.html
+++ b/examples/checkbox/checkbox-2/checkbox-2.html
@@ -3,10 +3,13 @@
Checkbox Example (Mixed State) | WAI-ARIA Authoring Practices 1.1
-
-
-
+
+
+
+
+
+
@@ -54,15 +57,15 @@ Example
@@ -92,7 +95,7 @@ Example
Keyboard Support
-
+
Key
@@ -127,7 +130,7 @@ Keyboard Support
Role, Property, State, and Tabindex Attributes
-
+
Role
@@ -229,7 +232,7 @@ Javascript and CSS Source Code
HTML Source Code
-
+
+
+
+
+
+
-
+
Key
@@ -128,9 +130,9 @@ Keyboard Support
Role, Property, State, and Tabindex Attributes
-
+
Role
@@ -150,7 +152,7 @@ Role, Property, State, and Tabindex Attributes
-
@@ -186,7 +188,7 @@ Javascript and CSS Source Code
HTML Source Code
-
+
-
-
-
+
+
+
+
+
@@ -49,9 +51,7 @@ Example
The HTML in this section along with the javascript and CSS it uses demonstrate
the design pattern.
- When developing an example implementation for this guide, please follow the
- APG example coding guidelines
- .
+ When developing an example implementation for this guide, please follow the APG example coding guidelines .
@@ -73,7 +73,7 @@ Accessibility Features
Keyboard Support
-
-
+
Key
@@ -115,9 +115,9 @@ Keyboard Support
Role, Property, State, and Tabindex Attributes
-
+
Role
@@ -137,7 +137,7 @@ Role, Property, State, and Tabindex Attributes
-
@@ -173,7 +173,7 @@ Javascript and CSS Source Code
HTML Source Code
-
+
-
-
-
+
+
+
+
+
@@ -73,7 +75,7 @@ Accessibility Features
Keyboard Support
-
-
+
Key
@@ -115,9 +117,9 @@ Keyboard Support
Role, Property, State, and Tabindex Attributes
-
+
Role
@@ -137,7 +139,7 @@ Role, Property, State, and Tabindex Attributes
-
@@ -173,7 +175,7 @@ Javascript and CSS Source Code
HTML Source Code
-
+
-
-
-
+
+
+
+
+
@@ -73,7 +75,7 @@ Accessibility Features
Keyboard Support
-
-
+
Key
@@ -115,9 +117,9 @@ Keyboard Support
Role, Property, State, and Tabindex Attributes
-
+
Role
@@ -137,7 +139,7 @@ Role, Property, State, and Tabindex Attributes
-
@@ -173,7 +175,7 @@ Javascript and CSS Source Code
HTML Source Code
-
+
-
-
-
+
+
+
+
+
@@ -73,7 +75,7 @@ Accessibility Features
Keyboard Support
-
-
+
Key
@@ -115,9 +117,9 @@ Keyboard Support
Role, Property, State, and Tabindex Attributes
-
+
Role
@@ -137,7 +139,7 @@ Role, Property, State, and Tabindex Attributes
-
@@ -173,7 +175,7 @@ Javascript and CSS Source Code
HTML Source Code
-
+
-
-
-
+
+
+
+
+
@@ -73,7 +75,7 @@ Accessibility Features
Keyboard Support
-
-
+
Key
@@ -115,9 +117,9 @@ Keyboard Support
Role, Property, State, and Tabindex Attributes
-
+
Role
@@ -137,7 +139,7 @@ Role, Property, State, and Tabindex Attributes
-
@@ -173,7 +175,7 @@ Javascript and CSS Source Code
HTML Source Code
-
+
-
-
-
+
+
+
+
+
@@ -73,7 +75,7 @@ Accessibility Features
Keyboard Support
-
-
+
Key
@@ -115,9 +117,9 @@ Keyboard Support
Role, Property, State, and Tabindex Attributes
-
+
Role
@@ -137,7 +139,7 @@ Role, Property, State, and Tabindex Attributes
-
@@ -173,7 +175,7 @@ Javascript and CSS Source Code
HTML Source Code
-
+
-
-
-
+
+
+
+
+
@@ -73,7 +75,7 @@ Accessibility Features
Keyboard Support
-
-
+
Key
@@ -115,9 +117,9 @@ Keyboard Support
Role, Property, State, and Tabindex Attributes
-
+
Role
@@ -137,7 +139,7 @@ Role, Property, State, and Tabindex Attributes
-
@@ -173,7 +175,7 @@ Javascript and CSS Source Code
HTML Source Code
-
+
+
+
+
+
+
+
+
+
@@ -100,7 +104,7 @@ Accessibility Features
Keyboard Support
-
+
Key
@@ -123,7 +127,7 @@ Keyboard Support
- Activates the disclosure button,
+ Activates the disclosure button,
which toggles the visibility of the answer to the question.
@@ -133,7 +137,7 @@ Keyboard Support
Role, Property, State, and Tabindex Attributes
-
+
Role
@@ -227,12 +231,12 @@ Javascript and CSS Source Code
HTML Source Code
-
+
+ sourceCode.add('sc1', 'ex1');
+ sourceCode.make();
+
diff --git a/examples/disclosure/disclosure-img-long-description.html b/examples/disclosure/disclosure-img-long-description.html
index 1e5a2b3fee..c2326c4490 100644
--- a/examples/disclosure/disclosure-img-long-description.html
+++ b/examples/disclosure/disclosure-img-long-description.html
@@ -3,9 +3,13 @@
Example Disclosure (Show/Hide) for Image Description | WAI-ARIA Authoring Practices 1.1
-
-
-
+
+
+
+
+
+
+
@@ -15,7 +19,7 @@
Example Disclosure (Show/Hide) for Image Description
- Please provide feedback on this example in
+ Please provide feedback on this example in
issue 264.
@@ -36,16 +40,16 @@
Example
-
+
Charles Minard's 1869 chart showing the number of men in
Napoleon’s 1812 Russian campaign army, their movements, as well as the temperature they
- encountered on the return path.
+ encountered on the return path.
Data Table for Minard's Chart
Data for Charles Minars's Chart of Naploean's Invasion of Russia
-
+
Location
@@ -235,7 +239,7 @@ Accessibility Features
Keyboard Support
-
+
Key
@@ -258,7 +262,7 @@ Keyboard Support
- Activates the disclosure button,
+ Activates the disclosure button,
which toggles the visibility of the long description.
@@ -268,7 +272,7 @@ Keyboard Support
Role, Property, State, and Tabindex Attributes
-
+
Role
@@ -289,7 +293,7 @@ Role, Property, State, and Tabindex Attributes
The disclosure button controls visibility of the container identified by the IDREF
value.
-
+
@@ -306,7 +310,7 @@ Role, Property, State, and Tabindex Attributes
Indicates that the container controlled by the disclosure button is hidden .
- CSS attribute selectors (e.g. [aria-expanded="false"]
)
+ CSS attribute selectors (e.g. [aria-expanded="false"]
)
synchronize the visual states with the value of the aria-expanded
attribute.
@@ -331,7 +335,7 @@ Role, Property, State, and Tabindex Attributes
Indicates that the container controlled by the disclosure button is visible .
- CSS attribute selectors (e.g. [aria-expanded="true"]
)
+ CSS attribute selectors (e.g. [aria-expanded="true"]
)
synchronize the visual states with the value of the aria-expanded
attribute.
@@ -365,15 +369,15 @@ HTML Source Code
-
+
+ sourceCode.add('sc1', 'ex1');
+ sourceCode.make();
+
diff --git a/examples/feed/feed.html b/examples/feed/feed.html
index 8dc4a9bacb..8828a74aca 100644
--- a/examples/feed/feed.html
+++ b/examples/feed/feed.html
@@ -5,9 +5,11 @@
Feed Example | WAI-ARIA Authoring Practices 1.1
-
-
-
+
+
+
+
+
@@ -18,14 +20,14 @@
Feed Example
NOTE: This page is work in progress; is not ready for review.
- Work on this example is tracked by
+ Work on this example is tracked by
issue 246.
- The example below demonstrates an implementation of the
+ The example below demonstrates an implementation of the
This example uses ... summarize salient techniques )
-
+
Example
@@ -60,7 +62,7 @@ Accessibility Features
Keyboard Support
-
-
+
Key
@@ -102,9 +104,9 @@ Keyboard Support
Role, Property, State, and Tabindex Attributes
-
+
Role
@@ -124,7 +126,7 @@ Role, Property, State, and Tabindex Attributes
-
@@ -160,7 +162,7 @@ Javascript and CSS Source Code
HTML Source Code
-
+
+
+
+
+
+
+
@@ -389,7 +393,7 @@ Other Features
Keyboard Support
-
+
Key
@@ -507,7 +511,7 @@ Keyboard Support
Role, Property, State, and Tabindex Attributes
-
+
Role
@@ -636,19 +640,19 @@ Javascript and CSS Source Code
HTML Source Code
Example 1: Simple List of Links
-
+
Example 2: Pill List For Components Like a List of Message Recipients
-
+
Example 3: Scrollable Search Results
-
+
diff --git a/examples/grid/advancedDataGrid.html b/examples/grid/advancedDataGrid.html
index 7ebb17cc37..0218e308f2 100644
--- a/examples/grid/advancedDataGrid.html
+++ b/examples/grid/advancedDataGrid.html
@@ -3,10 +3,13 @@
Advanced Data Grid Example | WAI-ARIA Authoring Practices 1.1
+
-
-
-
+
+
+
+
+
-
+
Attribute
@@ -137,7 +140,7 @@ Javascript and CSS Source Code
HTML Source Code
-
+
-
-
-
+
+
+
+
+
@@ -45,7 +47,7 @@ Example 1: Minimal Data Grid
Transactions January 1 through January 6
-
+
Date
Type
@@ -133,7 +135,7 @@ Example 2: Sortable Data Grid With Editable Cells
Transactions January 1 through January 7
-
+
Date
@@ -334,8 +336,7 @@ Transactions for January 1 through January 15
Hide Type and
Category
+ data-per-page="5" class="data">
Date
Type
@@ -521,7 +522,7 @@ Notes
Keyboard Support
-
+
key
Function
@@ -623,7 +624,7 @@ Keyboard Support
Role, Property, State, and Tabindex Attributes
-
+
Role
@@ -803,23 +804,23 @@ Javascript and CSS Source Code
HTML Source Code
Example 1: Minimal Data Grid
-
+
Example 2: Sortable Data Grid With Editable Cells
-
+
Example 3: Scrollable Data Grid With Column Hiding
-
+
-
+
diff --git a/examples/index.html b/examples/index.html
new file mode 100644
index 0000000000..f625b49559
--- /dev/null
+++ b/examples/index.html
@@ -0,0 +1,79 @@
+
+
+
+
+ List of all APG example pages
+
+
+
+
+ This page has a link to all current APG example pages. Internal use only (it’s probably already out of date).
+
+ Accordion
+ Alert
+ Breadcrumb
+ Button
+ Checkbox
+
+ Checkbox 1
+ Checkbox 2
+
+
+ Disclosure
+
+ Disclosure FAQ
+ Disclosure long image description
+
+
+ Feed
+ Grid
+
+
+ Link
+ Listbox
+ Menu button
+
+
+ Menubar
+
+
+ Radio
+
+
+ Slider
+
+
+ Tabs
+
+
+ Toolbar
+ Treeview
+
+
+
+
+
diff --git a/examples/js/app.js b/examples/js/app.js
new file mode 100644
index 0000000000..f274ed25b1
--- /dev/null
+++ b/examples/js/app.js
@@ -0,0 +1,4 @@
+(function () {
+ // Load syntax highlighting
+ hljs.initHighlightingOnLoad();
+})();
diff --git a/examples/js/highlight.pack.js b/examples/js/highlight.pack.js
new file mode 100644
index 0000000000..21b82fb624
--- /dev/null
+++ b/examples/js/highlight.pack.js
@@ -0,0 +1,2 @@
+/*! highlight.js v9.9.0 | BSD3 License | git.io/hljslicense */
+!function(e){var n="object"==typeof window&&window||"object"==typeof self&&self;"undefined"!=typeof exports?e(exports):n&&(n.hljs=e({}),"function"==typeof define&&define.amd&&define([],function(){return n.hljs}))}(function(e){function n(e){return e.replace(/[&<>]/gm,function(e){return I[e]})}function t(e){return e.nodeName.toLowerCase()}function r(e,n){var t=e&&e.exec(n);return t&&0===t.index}function i(e){return k.test(e)}function a(e){var n,t,r,a,o=e.className+" ";if(o+=e.parentNode?e.parentNode.className:"",t=B.exec(o))return R(t[1])?t[1]:"no-highlight";for(o=o.split(/\s+/),n=0,r=o.length;r>n;n++)if(a=o[n],i(a)||R(a))return a}function o(e,n){var t,r={};for(t in e)r[t]=e[t];if(n)for(t in n)r[t]=n[t];return r}function u(e){var n=[];return function r(e,i){for(var a=e.firstChild;a;a=a.nextSibling)3===a.nodeType?i+=a.nodeValue.length:1===a.nodeType&&(n.push({event:"start",offset:i,node:a}),i=r(a,i),t(a).match(/br|hr|img|input/)||n.push({event:"stop",offset:i,node:a}));return i}(e,0),n}function c(e,r,i){function a(){return e.length&&r.length?e[0].offset!==r[0].offset?e[0].offset"}function u(e){l+=""+t(e)+">"}function c(e){("start"===e.event?o:u)(e.node)}for(var s=0,l="",f=[];e.length||r.length;){var g=a();if(l+=n(i.substring(s,g[0].offset)),s=g[0].offset,g===e){f.reverse().forEach(u);do c(g.splice(0,1)[0]),g=a();while(g===e&&g.length&&g[0].offset===s);f.reverse().forEach(o)}else"start"===g[0].event?f.push(g[0].node):f.pop(),c(g.splice(0,1)[0])}return l+n(i.substr(s))}function s(e){function n(e){return e&&e.source||e}function t(t,r){return new RegExp(n(t),"m"+(e.cI?"i":"")+(r?"g":""))}function r(i,a){if(!i.compiled){if(i.compiled=!0,i.k=i.k||i.bK,i.k){var u={},c=function(n,t){e.cI&&(t=t.toLowerCase()),t.split(" ").forEach(function(e){var t=e.split("|");u[t[0]]=[n,t[1]?Number(t[1]):1]})};"string"==typeof i.k?c("keyword",i.k):E(i.k).forEach(function(e){c(e,i.k[e])}),i.k=u}i.lR=t(i.l||/\w+/,!0),a&&(i.bK&&(i.b="\\b("+i.bK.split(" ").join("|")+")\\b"),i.b||(i.b=/\B|\b/),i.bR=t(i.b),i.e||i.eW||(i.e=/\B|\b/),i.e&&(i.eR=t(i.e)),i.tE=n(i.e)||"",i.eW&&a.tE&&(i.tE+=(i.e?"|":"")+a.tE)),i.i&&(i.iR=t(i.i)),null==i.r&&(i.r=1),i.c||(i.c=[]);var s=[];i.c.forEach(function(e){e.v?e.v.forEach(function(n){s.push(o(e,n))}):s.push("self"===e?i:e)}),i.c=s,i.c.forEach(function(e){r(e,i)}),i.starts&&r(i.starts,a);var l=i.c.map(function(e){return e.bK?"\\.?("+e.b+")\\.?":e.b}).concat([i.tE,i.i]).map(n).filter(Boolean);i.t=l.length?t(l.join("|"),!0):{exec:function(){return null}}}}r(e)}function l(e,t,i,a){function o(e,n){var t,i;for(t=0,i=n.c.length;i>t;t++)if(r(n.c[t].bR,e))return n.c[t]}function u(e,n){if(r(e.eR,n)){for(;e.endsParent&&e.parent;)e=e.parent;return e}return e.eW?u(e.parent,n):void 0}function c(e,n){return!i&&r(n.iR,e)}function g(e,n){var t=N.cI?n[0].toLowerCase():n[0];return e.k.hasOwnProperty(t)&&e.k[t]}function h(e,n,t,r){var i=r?"":y.classPrefix,a='',a+n+o}function p(){var e,t,r,i;if(!E.k)return n(B);for(i="",t=0,E.lR.lastIndex=0,r=E.lR.exec(B);r;)i+=n(B.substring(t,r.index)),e=g(E,r),e?(M+=e[1],i+=h(e[0],n(r[0]))):i+=n(r[0]),t=E.lR.lastIndex,r=E.lR.exec(B);return i+n(B.substr(t))}function d(){var e="string"==typeof E.sL;if(e&&!x[E.sL])return n(B);var t=e?l(E.sL,B,!0,L[E.sL]):f(B,E.sL.length?E.sL:void 0);return E.r>0&&(M+=t.r),e&&(L[E.sL]=t.top),h(t.language,t.value,!1,!0)}function b(){k+=null!=E.sL?d():p(),B=""}function v(e){k+=e.cN?h(e.cN,"",!0):"",E=Object.create(e,{parent:{value:E}})}function m(e,n){if(B+=e,null==n)return b(),0;var t=o(n,E);if(t)return t.skip?B+=n:(t.eB&&(B+=n),b(),t.rB||t.eB||(B=n)),v(t,n),t.rB?0:n.length;var r=u(E,n);if(r){var i=E;i.skip?B+=n:(i.rE||i.eE||(B+=n),b(),i.eE&&(B=n));do E.cN&&(k+=C),E.skip||(M+=E.r),E=E.parent;while(E!==r.parent);return r.starts&&v(r.starts,""),i.rE?0:n.length}if(c(n,E))throw new Error('Illegal lexeme "'+n+'" for mode "'+(E.cN||"")+'"');return B+=n,n.length||1}var N=R(e);if(!N)throw new Error('Unknown language: "'+e+'"');s(N);var w,E=a||N,L={},k="";for(w=E;w!==N;w=w.parent)w.cN&&(k=h(w.cN,"",!0)+k);var B="",M=0;try{for(var I,j,O=0;;){if(E.t.lastIndex=O,I=E.t.exec(t),!I)break;j=m(t.substring(O,I.index),I[0]),O=I.index+j}for(m(t.substr(O)),w=E;w.parent;w=w.parent)w.cN&&(k+=C);return{r:M,value:k,language:e,top:E}}catch(T){if(T.message&&-1!==T.message.indexOf("Illegal"))return{r:0,value:n(t)};throw T}}function f(e,t){t=t||y.languages||E(x);var r={r:0,value:n(e)},i=r;return t.filter(R).forEach(function(n){var t=l(n,e,!1);t.language=n,t.r>i.r&&(i=t),t.r>r.r&&(i=r,r=t)}),i.language&&(r.second_best=i),r}function g(e){return y.tabReplace||y.useBR?e.replace(M,function(e,n){return y.useBR&&"\n"===e?" ":y.tabReplace?n.replace(/\t/g,y.tabReplace):void 0}):e}function h(e,n,t){var r=n?L[n]:t,i=[e.trim()];return e.match(/\bhljs\b/)||i.push("hljs"),-1===e.indexOf(r)&&i.push(r),i.join(" ").trim()}function p(e){var n,t,r,o,s,p=a(e);i(p)||(y.useBR?(n=document.createElementNS("http://www.w3.org/1999/xhtml","div"),n.innerHTML=e.innerHTML.replace(/\n/g,"").replace(/ /g,"\n")):n=e,s=n.textContent,r=p?l(p,s,!0):f(s),t=u(n),t.length&&(o=document.createElementNS("http://www.w3.org/1999/xhtml","div"),o.innerHTML=r.value,r.value=c(t,u(o),s)),r.value=g(r.value),e.innerHTML=r.value,e.className=h(e.className,p,r.language),e.result={language:r.language,re:r.r},r.second_best&&(e.second_best={language:r.second_best.language,re:r.second_best.r}))}function d(e){y=o(y,e)}function b(){if(!b.called){b.called=!0;var e=document.querySelectorAll("pre code");w.forEach.call(e,p)}}function v(){addEventListener("DOMContentLoaded",b,!1),addEventListener("load",b,!1)}function m(n,t){var r=x[n]=t(e);r.aliases&&r.aliases.forEach(function(e){L[e]=n})}function N(){return E(x)}function R(e){return e=(e||"").toLowerCase(),x[e]||x[L[e]]}var w=[],E=Object.keys,x={},L={},k=/^(no-?highlight|plain|text)$/i,B=/\blang(?:uage)?-([\w-]+)\b/i,M=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,C=" ",y={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0},I={"&":"&","<":"<",">":">"};return e.highlight=l,e.highlightAuto=f,e.fixMarkup=g,e.highlightBlock=p,e.configure=d,e.initHighlighting=b,e.initHighlightingOnLoad=v,e.registerLanguage=m,e.listLanguages=N,e.getLanguage=R,e.inherit=o,e.IR="[a-zA-Z]\\w*",e.UIR="[a-zA-Z_]\\w*",e.NR="\\b\\d+(\\.\\d+)?",e.CNR="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",e.BNR="\\b(0b[01]+)",e.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",e.BE={b:"\\\\[\\s\\S]",r:0},e.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:[e.BE]},e.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:[e.BE]},e.PWM={b:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|like)\b/},e.C=function(n,t,r){var i=e.inherit({cN:"comment",b:n,e:t,c:[]},r||{});return i.c.push(e.PWM),i.c.push({cN:"doctag",b:"(?:TODO|FIXME|NOTE|BUG|XXX):",r:0}),i},e.CLCM=e.C("//","$"),e.CBCM=e.C("/\\*","\\*/"),e.HCM=e.C("#","$"),e.NM={cN:"number",b:e.NR,r:0},e.CNM={cN:"number",b:e.CNR,r:0},e.BNM={cN:"number",b:e.BNR,r:0},e.CSSNM={cN:"number",b:e.NR+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",r:0},e.RM={cN:"regexp",b:/\//,e:/\/[gimuy]*/,i:/\n/,c:[e.BE,{b:/\[/,e:/\]/,r:0,c:[e.BE]}]},e.TM={cN:"title",b:e.IR,r:0},e.UTM={cN:"title",b:e.UIR,r:0},e.METHOD_GUARD={b:"\\.\\s*"+e.UIR,r:0},e});hljs.registerLanguage("xml",function(s){var e="[A-Za-z0-9\\._:-]+",t={eW:!0,i:/,r:0,c:[{cN:"attr",b:e,r:0},{b:/=\s*/,r:0,c:[{cN:"string",endsParent:!0,v:[{b:/"/,e:/"/},{b:/'/,e:/'/},{b:/[^\s"'=<>`]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist"],cI:!0,c:[{cN:"meta",b:"",r:10,c:[{b:"\\[",e:"\\]"}]},s.C("",{r:10}),{b:"<\\!\\[CDATA\\[",e:"\\]\\]>",r:10},{b:/<\?(php)?/,e:/\?>/,sL:"php",c:[{b:"/\\*",e:"\\*/",skip:!0}]},{cN:"tag",b:"",rE:!0,sL:["css","xml"]}},{cN:"tag",b:"",rE:!0,sL:["actionscript","javascript","handlebars","xml"]}},{cN:"meta",v:[{b:/<\?xml/,e:/\?>/,r:10},{b:/<\?\w+/,e:/\?>/}]},{cN:"tag",b:"?",e:"/?>",c:[{cN:"name",b:/[^\/><\s]+/,r:0},t]}]}});hljs.registerLanguage("css",function(e){var c="[a-zA-Z-][a-zA-Z0-9_-]*",t={b:/[A-Z\_\.\-]+\s*:/,rB:!0,e:";",eW:!0,c:[{cN:"attribute",b:/\S/,e:":",eE:!0,starts:{eW:!0,eE:!0,c:[{b:/[\w-]+\(/,rB:!0,c:[{cN:"built_in",b:/[\w-]+/},{b:/\(/,e:/\)/,c:[e.ASM,e.QSM]}]},e.CSSNM,e.QSM,e.ASM,e.CBCM,{cN:"number",b:"#[0-9A-Fa-f]+"},{cN:"meta",b:"!important"}]}}]};return{cI:!0,i:/[=\/|'\$]/,c:[e.CBCM,{cN:"selector-id",b:/#[A-Za-z0-9_-]+/},{cN:"selector-class",b:/\.[A-Za-z0-9_-]+/},{cN:"selector-attr",b:/\[/,e:/\]/,i:"$"},{cN:"selector-pseudo",b:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{b:"@(font-face|page)",l:"[a-z-]+",k:"font-face page"},{b:"@",e:"[{;]",i:/:/,c:[{cN:"keyword",b:/\w+/},{b:/\s/,eW:!0,eE:!0,r:0,c:[e.ASM,e.QSM,e.CSSNM]}]},{cN:"selector-tag",b:c,r:0},{b:"{",e:"}",i:/\S/,c:[e.CBCM,t]}]}});hljs.registerLanguage("json",function(e){var i={literal:"true false null"},n=[e.QSM,e.CNM],r={e:",",eW:!0,eE:!0,c:n,k:i},t={b:"{",e:"}",c:[{cN:"attr",b:/"/,e:/"/,c:[e.BE],i:"\\n"},e.inherit(r,{b:/:/})],i:"\\S"},c={b:"\\[",e:"\\]",c:[e.inherit(r)],i:"\\S"};return n.splice(n.length,0,t,c),{c:n,k:i,i:"\\S"}});hljs.registerLanguage("javascript",function(e){var r="[A-Za-z$_][0-9A-Za-z$_]*",t={keyword:"in of if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await static import from as",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Promise"},a={cN:"number",v:[{b:"\\b(0[bB][01]+)"},{b:"\\b(0[oO][0-7]+)"},{b:e.CNR}],r:0},n={cN:"subst",b:"\\$\\{",e:"\\}",k:t,c:[]},c={cN:"string",b:"`",e:"`",c:[e.BE,n]};n.c=[e.ASM,e.QSM,c,a,e.RM];var s=n.c.concat([e.CBCM,e.CLCM]);return{aliases:["js","jsx"],k:t,c:[{cN:"meta",r:10,b:/^\s*['"]use (strict|asm)['"]/},{cN:"meta",b:/^#!/,e:/$/},e.ASM,e.QSM,c,e.CLCM,e.CBCM,a,{b:/[{,]\s*/,r:0,c:[{b:r+"\\s*:",rB:!0,r:0,c:[{cN:"attr",b:r,r:0}]}]},{b:"("+e.RSR+"|\\b(case|return|throw)\\b)\\s*",k:"return throw case",c:[e.CLCM,e.CBCM,e.RM,{cN:"function",b:"(\\(.*?\\)|"+r+")\\s*=>",rB:!0,e:"\\s*=>",c:[{cN:"params",v:[{b:r},{b:/\(\s*\)/},{b:/\(/,e:/\)/,eB:!0,eE:!0,k:t,c:s}]}]},{b:/,e:/(\/\w+|\w+\/)>/,sL:"xml",c:[{b:/<\w+\s*\/>/,skip:!0},{b:/<\w+/,e:/(\/\w+|\w+\/)>/,skip:!0,c:[{b:/<\w+\s*\/>/,skip:!0},"self"]}]}],r:0},{cN:"function",bK:"function",e:/\{/,eE:!0,c:[e.inherit(e.TM,{b:r}),{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,c:s}],i:/\[|%/},{b:/\$[(.]/},e.METHOD_GUARD,{cN:"class",bK:"class",e:/[{;=]/,eE:!0,i:/[:"\[\]]/,c:[{bK:"extends"},e.UTM]},{bK:"constructor",e:/\{/,eE:!0}],i:/#(?!!)/}});
\ No newline at end of file
diff --git a/examples/link/link.html b/examples/link/link.html
index 84a065b96a..3d7b43e35b 100644
--- a/examples/link/link.html
+++ b/examples/link/link.html
@@ -6,9 +6,11 @@
Link Examples | WAI-ARIA Authoring Practices 1.1
-
-
-
+
+
+
+
+
@@ -33,7 +35,7 @@ Link Examples
Examples
-
+
Number
@@ -99,7 +101,7 @@ Examples
Keyboard Support
-
+
Key
@@ -119,7 +121,7 @@ Keyboard Support
Role, Property, State, and Tabindex Attributes
-
+
Role
@@ -184,15 +186,15 @@ Javascript and CSS Source Code
HTML Source Code
Link 1
-
+
Link 2
-
+
Link 3
-
+
+
+
+
+
+
@@ -234,7 +236,7 @@ Keyboard Support
Role, Property, State, and Tabindex Attributes
-
+
Attribute
@@ -328,12 +330,12 @@ Javascript and CSS Source Code
HTML Source Code
Example 1: Single-Select Listbox
-
+
Example 2: Multi-Select Listbox
-
+
diff --git a/examples/menu-button/menu-button-1/menu-button-1.html b/examples/menu-button/menu-button-1/menu-button-1.html
index 22d3ad98e5..beee9cf72f 100644
--- a/examples/menu-button/menu-button-1/menu-button-1.html
+++ b/examples/menu-button/menu-button-1/menu-button-1.html
@@ -3,11 +3,14 @@
Menu Button Example: Actions | WAI-ARIA Authoring Practices 1.1
-
-
-
+
+
+
+
+
+
-
+
@@ -80,7 +83,7 @@ Keyboard Support
Menu Button
-
+
Key
@@ -101,7 +104,7 @@ Menu Button
-
+
Key
@@ -180,7 +183,7 @@ Role, Property, State, and Tabindex Attributes
Menu Button Widget
-
+
Role
@@ -259,7 +262,7 @@ Menu Button Widget
Popup Menu
-
+
Role
@@ -347,7 +350,7 @@ Javascript and CSS Source Code
HTML Source Code
-
+
+
+
+
+
+
@@ -97,7 +99,7 @@ Keyboard Support
Menu Button
-
+
Key
@@ -118,7 +120,7 @@ Menu Button
-
+
Key
@@ -195,7 +197,7 @@ Role, Property, State, and Tabindex Attributes
Menu Button Widget
-
+