From cb398f24080130554d9ea710da6c27c5e9e3e726 Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Mon, 6 Dec 2021 14:10:58 -0500 Subject: [PATCH] Add note to checkbox def Reference the native checkbox's strong native semantics / functionality and advise authors to use native features on the native element --- index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.html b/index.html index 88847f0fc..94f81d0a3 100644 --- a/index.html +++ b/index.html @@ -1990,6 +1990,9 @@

Definition of Roles

A checkable input that has three possible values: true, false, or mixed.

The aria-checked attribute of a checkbox indicates whether the input is checked (true), unchecked (false), or represents a group of elements that have a mixture of checked and unchecked values (mixed). Many checkboxes do not use the mixed value, and thus are effectively boolean checkboxes.

+

+ Due to the strong native semantics of HTML's native checkbox, authors are advised against using aria-checked on an input type=checkbox. Rather, use the native checked attribute or the indeterminate IDL attribute to specify the checkbox's "checked" or "mixed" state, respectively. +

Characteristics: