[whatwg] Tag Proposal: spelling

Charles Pritchard chuck at jumis.com
Sat Dec 11 12:26:16 PST 2010


On 12/11/2010 5:37 AM, Benjamin Hawkes-Lewis wrote:
> 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

Sorry I missed that: I did try to check before proposing the tag.
Yes, <mark aria-invalid="spelling"> is exactly what I want.


-Charles




More information about the whatwg mailing list