[whatwg] Tag Proposal: spelling

On Mon, Nov 29, 2010 at 8:58 PM, Charles Pritchard <chuck at jumis.com> wrote:
> Currently, there's no way for an author to markup spelling errors in text.
> A [spelling] tag would address that deficiency.

What should/may user agents do with it?

Note that this semantic can be expressed using WAI-ARIA.

<mark aria-invalid="spelling">speling</mark>

In this case:

"User agents SHOULD inform the user of the error. Application authors
SHOULD provide suggestions for corrections if they are known. Authors
MAY prevent form submission when an associated form element has its
aria-invalid attribute set to true."

http://www.w3.org/TR/2010/WD-wai-aria-20100916/complete#aria-invalid

--
Benjamin Hawkes-Lewis

Received on Saturday, 11 December 2010 05:37:02 UTC