aom icon indicating copy to clipboard operation
aom copied to clipboard

"checked" under Future Work has compelling use cases

Open domenic opened this issue 9 years ago • 3 comments

In particular, making a custom element checkbox control.

domenic avatar Aug 01 '16 10:08 domenic

Yes, I agree. We should move this to 1.0.

cookiecrook avatar Aug 25 '16 23:08 cookiecrook

This was previously covered by value (usually 0/1, and occasionally 2 for "mixed"), but the editors discussion conceded the usefulness of keeping the more discoverable "checked" pattern. We'll look into how to describe that value is precluded by checked on checkbox and related elements. Edits should take care to ensure non-conflict with ARIA.

cookiecrook avatar Aug 26 '16 17:08 cookiecrook

I think I'd prefer "checked" to match ARIA

The fact that some platforms use "value" instead of "checked" is a platform-specific implementation detail. On the web, we have a checked attribute and the AOM should be no different.

minorninth avatar Aug 30 '16 17:08 minorninth