[whatwg] Tag Proposal: spelling

Benjamin Hawkes-Lewis bhawkeslewis at googlemail.com
Sat Dec 11 05:37:02 PST 2010


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


More information about the whatwg mailing list