You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IDL Button example: Make browser support note more visible (pull #1705)
Resolve#1692 by:
* Make browser support note more visible by applying advisement class.
* Clarify browser support note wording.
* Move note inside example so it shows up in codepen.
* add target="_blank" to issue 1692 link in note so it opens from codepen.
Co-authored-by: Matt King <[email protected]>
The JavaScript for the example buttons on this page uses the <ahref="https://www.w3.org/TR/wai-aria-1.2/#idl-interface">IDL Interface defined in ARIA 1.2</a>.
35
-
The purpose of these examples is to illustrate how to use IDL for ARIA Attribute Reflection and provide a test case for browser and assistive technology interoperability.
35
+
The purpose of these examples is to illustrate how to use ARIA Attribute Reflection and provide a test case for browser and assistive technology interoperability.
36
36
Specifically, the <code>role</code> and <code>ariaPressed</code> attributes are accessed using dot notation instead of <code>setAttribute()</code> and <code>getAttribute()</code>.
37
37
In all other respects, these examples are identical to the <ahref="button.html">Button Examples</a>.
<strong>IMPORTANT:</strong> This example uses features of the draft ARIA 1.2 specification. As a draft specification, it is subject to change. Support provided by browsers or assistive technologies is experimental.
<strong>IMPORTANT:</strong> This example is coded using syntax that was not introduced until version 1.2 of the ARIA specification.
50
+
When using a <ahref="https://github.com/w3c/aria-practices/issues/1692" target="_blank">browser that does not yet provide support for ARIA attribute reflection</a>, the buttons will not be styled correctly.
51
+
</p>
52
+
51
53
<p>This <q>Print</q> action button uses a <code>div</code> element.</p>
0 commit comments