- From: James Craig <jcraig@apple.com>
- Date: Thu, 08 May 2014 14:26:49 -0700
- To: John Foliot <john@foliot.ca>, Steve Faulkner <faulkner.steve@gmail.com>
- Cc: "Gunderson, Jon R" <jongund@illinois.edu>, "w3c-wai-pf@w3.org WAI-PFWG" <w3c-wai-pf@w3.org>, WAI XTech <wai-xtech@w3.org>
On May 8, 2014, at 1:02 PM, John Foliot <john@foliot.ca> wrote: > <input type="checkbox" aria-required="true"> - ARIA semantic "wins", as > it was explicitly applied by the author (and based upon James' earlier > email, this is where I disagree with James) We can't write a spec that has a one-way dependency on a boolean attribute. It doesn't make sense. You're effectively saying "True is true, except in some cases where it's not." The only arguments I've heard against this are stylistic and functional behaviors that can both be resolved with CSS and JavaScript. If you don't like the native styling of input[required], fix it by adding an input[required] {} block in your CSS. If you don't like the auto-submission behavior of a required form field, fix it in the JavaScript submit handler. Otherwise, if you don't want to do either of these things, don't use a native form field. Use <div contenteditable role="textbox" aria-required="true"> or something else. James
Received on Thursday, 8 May 2014 21:27:41 UTC