-
Notifications
You must be signed in to change notification settings - Fork 355
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
All Examples: Add browser and assistive technology support notice (pull
#1404) Modifies examples/js/examples.js to add a disclosure at the top of every example page with notices regarding limitations of the example. Reminds readers to test before using, use simple HTML where possible, and refers to the aria-at project for information about future support tables. Co-authored-by: Zoë Bijl <[email protected]> Co-authored-by: Zoë Bijl <[email protected]> Co-authored-by: Simon Pieters <[email protected]> Co-authored-by: JaEun Jemma Ku <[email protected]> Co-authored-by: Valerie Young <[email protected]> Co-authored-by: Matt King <[email protected]>
- Loading branch information
1 parent
3909695
commit 162a945
Showing
2 changed files
with
84 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<meta charset="utf-8"> | ||
<title>support notice (template)</title> | ||
<details id="support-notice" class="note"> | ||
<summary>Important Note About Use of This Example</summary> | ||
<p> | ||
Note: This is an illustrative example of one way of using ARIA that conforms with the ARIA specification. | ||
</p> | ||
<ul> | ||
<li> | ||
There may be support gaps in some | ||
<a href="/#browser_and_AT_support">browser and assistive technology combinations</a>, | ||
especially for <a href="/#mobile_and_touch_support">mobile/touch devices</a>. | ||
Testing code based on this example with assistive technologies is essential before considering use in production systems. | ||
</li> | ||
<li> | ||
The <a href="https://github.com/w3c/aria-at/">ARIA-AT project</a> | ||
plans to provide measurements of this example's assistive technology support by the end of 2020. | ||
</li> | ||
<li> | ||
Robust accessibility can be further optimized by choosing implementation patterns that | ||
<a href="https://www.w3.org/TR/using-aria/#rule1">maximize use of semantic HTML</a> | ||
and heeding the warning that | ||
<a href="/#no_aria_better_bad_aria">No ARIA is better than Bad ARIA</a>. | ||
</li> | ||
</ul> | ||
</details> |