W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > January to March 2002

RE: event handlers Re: [w3c-wai-gl] <none>

From: Charles McCathieNevile <charles@w3.org>
Date: Sun, 6 Jan 2002 09:39:01 -0500 (EST)
To: Annuska Perkins <annuskap@microsoft.com>
cc: Gregg Vanderheiden <GV@TRACE.WISC.EDU>, "GLWAI Guidelines WG (GL - WAI Guidelines WG)" <w3c-wai-gl@w3.org>
Message-ID: <Pine.LNX.4.30.0201040349380.23810-100000@tux.w3.org>
Well, in this list I would keep the ones Annuska has identified as "keyboard
or mouse" which are generic - in fact there is no reason why a voice command
can't be used for change or select, whereas it is really difficult to
simulate a mouse-down and then a mouse-up.

In DOM2 I would take out the old focus events and the mouse events (the key
events were already dropped) and keep the activate and the new focusin
focusout events - in other words the evets found in SVG other than the
mouse-specific ones. I would also, for time-based content, keep the events in
the SMI2 specification.

Cheers

Charles McCN

On Thu, 3 Jan 2002, Annuska Perkins wrote:

  Here's the list of the HTML 4.01 event attributes, as listed in the spec: http://www.w3.org/TR/html4/index/attributes.html.

  Next to each, I put whether its:
  - "mouse"
  - "keyboard"
  - "keyboard or mouse" (a.k.a, "device-independent" or "generic")
  - "other"

  1. onblur - keyboard or mouse
  2. onchange - keyboard or mouse. (Fired when element loses focus via keyboard or mouse, plus input value had changed.)
  3. onclick - mouse
  4. ondblclick - mouse
  5. onfocus - keyboard or mouse
  6. onkeydown - keyboard
  7. onkeypress - keyboard
  8. onkeyup - keyboard
  9. onload - other (body or frameset loaded)
  10. onmousedown - mouse
  11. onmousemove - mouse
  12. onmouseout - mouse
  13. onmouseover - mouse
  14. onmouseup - mouse
  15. onreset - other (form reset)
  16. onselect - keyboard or mouse. (Fired when user selects text in INPUT or TEXTAREA)
  17. onsubmit - other (form submitted)
  18. onunload - other (frames removed)

  The MS Developer Network (MSDN) Library also has info on DHTML event attributes at:
  http://msdn.microsoft.com/workshop/author/dhtml/reference/events.asp. This reference lists a lot of additional events, so you have to look at the "Standards Information" for each element to see if its part of HTML 4.0 or not.


  -Annuska


-- 
Charles McCathieNevile    http://www.w3.org/People/Charles  phone: +61 409 134 136
W3C Web Accessibility Initiative     http://www.w3.org/WAI    fax: +1 617 258 5999
Location: 21 Mitchell street FOOTSCRAY Vic 3011, Australia
(or W3C INRIA, Route des Lucioles, BP 93, 06902 Sophia Antipolis Cedex, France)
Received on Sunday, 6 January 2002 09:39:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:47:18 GMT