diff --git a/aria-practices.html b/aria-practices.html index e5342ae0f0..7693f62534 100644 --- a/aria-practices.html +++ b/aria-practices.html @@ -529,6 +529,14 @@

Example

Dialog (Non-Modal)

Drafting content for this section is tracked by issue 59.

+ +
+

Disclosure (Show/Hide)

+

+ Drafting content for this section is tracked by + issue 9. +

+

Grids : Interactive Tabular Data and Layout Containers

diff --git a/examples/button/button.html b/examples/button/button.html index 706e072af2..81c90962d0 100644 --- a/examples/button/button.html +++ b/examples/button/button.html @@ -8,114 +8,46 @@ +

Button Examples

-

- This example page requires updates per - issue 189. - Please provide any additional feedback in this issue. -

The following examples of the button design pattern demonstrate both command and toggle buttons.

+ +
-

Examples

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
TypeElementButtonAccessibility Feature
Push button - div - -
Print Page
-
-
    -
  • - div element with role="button". -
  • -
  • - div element has onclick event to handle mouse clicks. -
  • -
  • - div element has onkeydown event to handle keyboard - support. -
  • -
  • - div element has tabindex="0" to become part of tab order - of the page. -
  • -
-
Toggle button - span - - Mute - -
    -
  • - span element with role="button". -
  • -
  • - span element has onclick event to handle mouse clicks. -
  • -
  • - span element has onkeydown event to handle keyboard - support. -
  • -
  • - Toggle status using the aria-pressed attribute. -
  • -
-
Push button - a - - Show alert - -
    -
  • - a element has onclick event to handle mouse clicks. -
  • -
  • - a element has onkeydown event to handle keyboard support. -
  • -
  • - a element has tabindex="0" to become part of tab order of - the page. -
  • -
-
-
-
+

Action Button

+

Print button uses a div element.

+
Print Page
+ +

Toggle Button

+

Mute button uses a a element.

+
+ Mute +
+ + +
+

Keyboard Support

@@ -130,7 +62,7 @@

Keyboard Support

Space or enter - Activate or toggle button + Activate or toggle state of button @@ -153,7 +85,7 @@

ARIA Roles, Properties and States

button - div, span, a + div, a