Skip to content

Commit

Permalink
Add AT support tables to example pages for alert, link, and radio usi…
Browse files Browse the repository at this point in the history
…ng activedescendant (pull #2653)

Updates three example pages to include a section for AT support:

* Alert 
* Link 
* Radio Using aria-activedescendant 

---------

Co-authored-by: alflennik <[email protected]>
  • Loading branch information
mcking65 and alflennik authored Mar 31, 2023
1 parent 914bcb9 commit 4f1d770
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
12 changes: 12 additions & 0 deletions content/patterns/alert/examples/alert.html
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,18 @@ <h2 id="sc1_label">HTML Source Code</h2>
sourceCode.make();
</script>
</section>

<section id="at-support">
<h2>Assistive Technology Support</h2>
<iframe
class="support-levels-alert"
src="https://aria-at.w3.org/embed/reports/alert"
height="100"
allow="clipboard-write"
style="border-style: none; width: 100%;">
</iframe>
</section>

</main>
</body>
</html>
12 changes: 12 additions & 0 deletions content/patterns/link/examples/link.html
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,18 @@ <h3 id="sc3_label">Link 3</h3>
sourceCode.make();
</script>
</section>

<section id="at-support">
<h2>Assistive Technology Support</h2>
<iframe
class="support-levels-link-span-text"
src="https://aria-at.w3.org/embed/reports/link-span-text"
height="100"
allow="clipboard-write"
style="border-style: none; width: 100%;">
</iframe>
</section>

</main>
</body>
</html>
12 changes: 12 additions & 0 deletions content/patterns/radio/examples/radio-activedescendant.html
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,18 @@ <h2 id="sc1_label">HTML Source Code</h2>
sourceCode.make();
</script>
</section>

<section id="at-support">
<h2>Assistive Technology Support</h2>
<iframe
class="support-levels-radiogroup-aria-activedescendant"
src="https://aria-at.w3.org/embed/reports/radiogroup-aria-activedescendant"
height="100"
allow="clipboard-write"
style="border-style: none; width: 100%;">
</iframe>
</section>

</main>
</body>
</html>

0 comments on commit 4f1d770

Please sign in to comment.