This simple script demonstrates how the conversation region in a chat is updated and surfaced to ATs using the aria log role. Here the role is placed on the region containing the dynamically updating conversation. This is not intended to be a fully-functional chat client, but to demonstrate the use of log role. In this mock demo, the conversation is updated with a brief, one-sided conversation, which is initiated by pressing Send.
@@ -56,10 +66,11 @@
Conversation
Mock input
-
+
+
-
+
diff --git a/working-examples/aria-role-log/serverlog.html b/working-examples/aria-role-log/serverlog.html
index 384c8beeaa..3bb038b350 100644
--- a/working-examples/aria-role-log/serverlog.html
+++ b/working-examples/aria-role-log/serverlog.html
@@ -1,9 +1,15 @@
- Using role=log with server logs
-
+
+
+ Using role=log with server logs | WCAG 2
+
-
+
+ Colour Picker | WCAG 2
+
+
+
body, legend, a{ color: " . htmlspecialchars($strForecolour) . "; background: " . htmlspecialchars($strBackcolour) . ";}\n";
diff --git a/working-examples/colour-picker/persist.php b/working-examples/colour-picker/persist.php
index ecb5c0f33a..0972f2ca9e 100644
--- a/working-examples/colour-picker/persist.php
+++ b/working-examples/colour-picker/persist.php
@@ -1,9 +1,10 @@
-
+
- Colour picker persistence
-
-
+
+ Colour picker persistence | WCAG 2
+
+
- Working example - Using min-height and min-width on target container to ensure sufficient target spacing
-
+ Working example - Using min-height and min-width on target container to ensure sufficient target spacing | WCAG 2
+
diff --git a/working-examples/device-motion-sensor-input-failure/index.html b/working-examples/device-motion-sensor-input-failure/index.html
index 30ae2747d0..56544ac4e1 100644
--- a/working-examples/device-motion-sensor-input-failure/index.html
+++ b/working-examples/device-motion-sensor-input-failure/index.html
@@ -1,14 +1,14 @@
-
-
+
+
-WCAG Failure Example of Motion Sensor
+WCAG Failure Example of Motion Sensor | WCAG 2
diff --git a/working-examples/device-motion-sensor-input/index.html b/working-examples/device-motion-sensor-input/index.html
index 6370ff9e39..92a7885be4 100644
--- a/working-examples/device-motion-sensor-input/index.html
+++ b/working-examples/device-motion-sensor-input/index.html
@@ -1,14 +1,14 @@
-
-
+
+
-WCAG Example of Motion Sensor
+WCAG Example of Motion Sensor | WCAG 2
diff --git a/working-examples/failure-css-positioning/index.html b/working-examples/failure-css-positioning/index.html
index dca325389a..8fc3d9a36f 100644
--- a/working-examples/failure-css-positioning/index.html
+++ b/working-examples/failure-css-positioning/index.html
@@ -1,9 +1,15 @@
-
+
-
-Improper use of CSS to create a tabular layout
-
@@ -23,4 +28,4 @@
Simulated removal of CSS to demonstrate improper use of CSS to create a tabu
Idaho
-
\ No newline at end of file
+
diff --git a/working-examples/failure-orientation-message/index.html b/working-examples/failure-orientation-message/index.html
index 491330134f..64a52a26c0 100644
--- a/working-examples/failure-orientation-message/index.html
+++ b/working-examples/failure-orientation-message/index.html
@@ -2,8 +2,8 @@
-
- Showing message asking to reorient device
+
+ Showing message asking to reorient device | WCAG 2
+
-
+
+
Custom control slider built on top of a native slider (Accessible faked slider)
This slider uses an actual <input type="range"> behind the scenes. This is what keyboard and touch + assistive technology users interact with. Mouse/stylus/touch users interact with the fake sliders.
@@ -26,4 +34,4 @@
Custom control slider built on top of a native slider (Accessible faked slid
-
\ No newline at end of file
+
diff --git a/working-examples/reflow-carousel-panel-horizontal-scroll/index.html b/working-examples/reflow-carousel-panel-horizontal-scroll/index.html
index 261a867635..4ca3e9a94f 100644
--- a/working-examples/reflow-carousel-panel-horizontal-scroll/index.html
+++ b/working-examples/reflow-carousel-panel-horizontal-scroll/index.html
@@ -1,8 +1,9 @@
- Carousel panels that scroll horizontally are designed to fit within a width of 320 CSS pixels on a vertically scrolling page
-
+
+
+ Carousel panels that scroll horizontally are designed to fit within a width of 320 CSS pixels on a vertically scrolling page | WCAG 2
-
-
+
+
Here is the button to modify with a javascript action:
As in the previous example, the button element is given a unique id attribute; a script uses the Document Object Model (DOM) to find the button element by its id and add the onclick handler. The action attribute of the enclosing form element contains a script that will perform the action on the server.
-
\ No newline at end of file
+
diff --git a/working-examples/script-action-links/index.html b/working-examples/script-action-links/index.html
index eb4f3e2ab6..1ee81a623d 100644
--- a/working-examples/script-action-links/index.html
+++ b/working-examples/script-action-links/index.html
@@ -1,9 +1,10 @@
-
- Creating Action Links using JavaScript
-
-
+
+
This page demonstrates validating multiple form controls at once. If there is invalid input, the user is alerted and the form is not submitted.
diff --git a/working-examples/script-control-blink/index.html b/working-examples/script-control-blink/index.html
index 0f5ba0e447..4af34a2ad9 100644
--- a/working-examples/script-control-blink/index.html
+++ b/working-examples/script-control-blink/index.html
@@ -1,9 +1,16 @@
-
-
-Example of SCR22: Using scripts to control blinking and stop it in five seconds or less
+
+
+Example of SCR22: Using scripts to control blinking and stop it in five seconds or less | WCAG 2
+
diff --git a/working-examples/script-dynamic-select/index.html b/working-examples/script-dynamic-select/index.html
index 23cef075c4..e0f6712994 100644
--- a/working-examples/script-dynamic-select/index.html
+++ b/working-examples/script-dynamic-select/index.html
@@ -1,9 +1,10 @@
-
-Dynamic Select Statements
-
+
Dynamic Select Statements
diff --git a/working-examples/script-expand-links/index.html b/working-examples/script-expand-links/index.html
index 859fab0fa0..f1c2ad4c58 100644
--- a/working-examples/script-expand-links/index.html
+++ b/working-examples/script-expand-links/index.html
@@ -1,9 +1,9 @@
-
-
-Providing link expansions on demand
+
+
+Providing link expansions on demand | WCAG 2
+
This is another line of text that users may want to read even though it can be obscured by the popup.
-
\ No newline at end of file
+
diff --git a/working-examples/script-scroll-pause/index.html b/working-examples/script-scroll-pause/index.html
index 1b86ddc6c9..1d0a6560ed 100644
--- a/working-examples/script-scroll-pause/index.html
+++ b/working-examples/script-scroll-pause/index.html
@@ -1,9 +1,9 @@
-
-
-Example of using script to scroll content and providing mechanism to pause it
+
+
+Example of using script to scroll content and providing mechanism to pause it | WCAG 2
diff --git a/working-examples/script-scroll-pause/scroll.css b/working-examples/script-scroll-pause/scroll.css
index fc7e04791f..535c9bcf72 100644
--- a/working-examples/script-scroll-pause/scroll.css
+++ b/working-examples/script-scroll-pause/scroll.css
@@ -1,4 +1,8 @@
-body {font:1em verdana,sans-serif; color:#000; margin:0}
+body{
+ background:#fff;
+ color:#000;
+ font:100% / 1.5 sans-serif;
+}
/* position:relative and overflow:hidden are required */
#scroller { position:relative; overflow:hidden; width:15em; border:1px solid #008080; }
@@ -10,4 +14,4 @@ body {font:1em verdana,sans-serif; color:#000; margin:0}
#testP { visibility:hidden; position:absolute; white-space:nowrap; }
/* used as a page top marker and to limit width */
-#top { width:350px; margin:auto; }
\ No newline at end of file
+#top { width:350px; margin:auto; }
diff --git a/working-examples/script-scroll-text-expand/index.html b/working-examples/script-scroll-text-expand/index.html
index 472d62fa1b..1ce13edd9a 100644
--- a/working-examples/script-scroll-text-expand/index.html
+++ b/working-examples/script-scroll-text-expand/index.html
@@ -1,9 +1,15 @@
-
+
-
- Expanding Scrolling Text in Place
+
+
+ Expanding Scrolling Text in Place | WCAG 2
Using Semantic markup to mark emphasized or special text
@@ -25,4 +33,4 @@
Using the sup and sub elements to mark up superscr
Beth won 1st place in the 9th grade science competition.
The chemical notation for water is H2O.
-
\ No newline at end of file
+
diff --git a/working-examples/server-referrer-access-nonconforming/conforming.php b/working-examples/server-referrer-access-nonconforming/conforming.php
index 9df391130b..917b5c95f5 100644
--- a/working-examples/server-referrer-access-nonconforming/conforming.php
+++ b/working-examples/server-referrer-access-nonconforming/conforming.php
@@ -2,8 +2,16 @@
- Conforming Content
-
+ Conforming Content | WCAG 2
+
+
+