diff --git a/index.html b/index.html index 16c6102..0251b36 100644 --- a/index.html +++ b/index.html @@ -330,8 +330,9 @@
Consider a check box label that contains a text input field: "Flash the screen [input] times". If the user has entered "5" for the embedded textbox, the complete label is "Flash the screen 5 times", e.g.:
-<div role="checkbox" aria-checked="false">Flash the screen <span role="textbox" aria-multiline="false"> 5 </span> times</div>
+ Consider a label of a check box that contains a text input field: "Flash the screen [input] times". If the input field has the value "5", the complete label is "Flash the screen 5 times", e.g.:
+<input type="checkbox" aria-labelledby="label">
+<label id="label">Flash the screen <input type="text" value="5"> times</label>
current node's
role allows name from content, or if the current node
is referenced by aria-labelledby
, aria-describedby
, or is a native host language text alternative element (e.g. label
in HTML), or is a descendant of a native host language text alternative element: