From 7eeddcd048dce1a4000afe4163404fb1ac765045 Mon Sep 17 00:00:00 2001 From: Simon Pieters Date: Fri, 28 Jun 2019 15:16:43 +0200 Subject: [PATCH 01/56] Initial commit for Communicating Widget States draft --- widget-states.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 widget-states.md diff --git a/widget-states.md b/widget-states.md new file mode 100644 index 0000000000..291b5ba4a8 --- /dev/null +++ b/widget-states.md @@ -0,0 +1,30 @@ +Issue for this section: https://github.com/w3c/aria-practices/issues/254 + +Related issues: +https://github.com/w3c/aria/issues/1008 +https://github.com/w3c/aria/issues/681#issuecomment-506703445 + + +## Widget States + +aria-selected +aria-checked +aria-pressed +aria-expanded +aria-disabled +aria-readonly + + +HTML equivalents: + +``` + + + +.indeterminate = true; <-> aria-checked = undefined +``` + +Push button can be implemented as: +``` +