- From: Charles Pritchard <chuck@jumis.com>
- Date: Sat, 11 Dec 2010 12:26:16 -0800
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
Received on Saturday, 11 December 2010 12:26:16 UTC