Skip to content

Commit

Permalink
4 Example Pages: Reposition AT support tables higher on the page (pull
Browse files Browse the repository at this point in the history
…#2737)

Moves AT support tables from after the source code sections to before the source code sections.
  • Loading branch information
mcking65 authored Jul 24, 2023
1 parent 1d85d95 commit b3777ac
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 53 deletions.
23 changes: 12 additions & 11 deletions content/patterns/alert/examples/alert.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,17 @@ <h2 id="rps_label">Role, Property, State, and Tabindex Attributes</h2>
</table>
</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>

<section>
<h2>JavaScript and CSS Source Code</h2>
<ul id="css_js_files">
Expand All @@ -143,17 +154,7 @@ <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>
Expand Down
41 changes: 21 additions & 20 deletions content/patterns/button/examples/button.html
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,27 @@ <h2 id="rps_label">Role, Property, State, and Tabindex Attributes</h2>
</table>
</section>

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

<h3>Toggle Button</h3>
<iframe
class="support-levels-toggle-button"
src="https://aria-at.w3.org/embed/reports/toggle-button"
height="100"
allow="clipboard-write"
style="border-style: none; width: 100%;">
</iframe>
</section>

<section>
<h2>JavaScript and CSS Source Code</h2>

Expand All @@ -196,26 +217,6 @@ <h2 id="sc1_label">HTML Source Code</h2>
</script>
</section>

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

<h3>Toggle Button</h3>
<iframe
class="support-levels-toggle-button"
src="https://aria-at.w3.org/embed/reports/toggle-button"
height="100"
allow="clipboard-write"
style="border-style: none; width: 100%;">
</iframe>
</section>
</main>
</body>
</html>
22 changes: 11 additions & 11 deletions content/patterns/link/examples/link.html
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,17 @@ <h2 id="rps_label">Role, Property, State, and Tabindex Attributes</h2>
</table>
</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>

<section>
<h2>JavaScript and CSS Source Code</h2>
<ul id="css_js_files">
Expand Down Expand Up @@ -182,17 +193,6 @@ <h3 id="sc3_label">Link 3</h3>
</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>
22 changes: 11 additions & 11 deletions content/patterns/radio/examples/radio-activedescendant.html
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,17 @@ <h2 id="rps_label">Role, Property, State, and Tabindex Attributes</h2>
</table>
</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>

<section>
<h2>JavaScript and CSS Source Code</h2>
<ul id="css_js_files">
Expand All @@ -263,17 +274,6 @@ <h2 id="sc1_label">HTML Source Code</h2>
</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 b3777ac

Please sign in to comment.