Re: Replacing Event keyCode

"Smith,Roger" <rsmith@andersonequip.com>, 2011-11-21 07:49 +0000:

> Apparently the W3C spec forbids replacing the keyCode in an event.
> [...]
> I respectfully request that this decision be reconsidered for future
> versions of the spec.

You should post that request to the www-dom@w3.org mailing list, which is
where the specs that relate to core DOM features are discussed -

  http://lists.w3.org/Archives/Public/www-dom/

> Also, IE has supported “-1” for the tabindex to prevent items such as
> optional buttons from being included in the tab sequence.
> [...]
> I would like to suggest that this be added to future specs.

The HTML5 spec already says it's valid:

  http://dev.w3.org/html5/spec/editing.html#attr-tabindex
  The tabindex attribute, if specified, must have a value that is a valid
  integer.

> It is the only one which repeatedly shows up as an error when I validate
> my html using the W3C validator.

You might want to consider using this validator instead:

  http://www.w3.org/html/check

It's up to date with the current HTML spec (HTML5) and does much better
reporting of things that are actually potential problems, and far less
(mis)reporting about things that aren't.

  --Mike

-- 
Michael[tm] Smith
http://people.w3.org/mike/+

Received on Tuesday, 22 November 2011 08:08:19 UTC