W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2010

[whatwg] Tag Proposal: spelling

From: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
Date: Sat, 11 Dec 2010 13:37:02 +0000
Message-ID: <AANLkTikb=hsrSe3anK1GN76+3OSx3OOMgme-+p2iTypd@mail.gmail.com>
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

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:02 UTC