RE: Seeking guidance...

No, onFocus (in the current specification) does not replace onMouseover in
current versions of HTML (sadly).

In the upcoming DOM work, there is a new focusin/focusout event that is
expected to cover mouseovers as well as keyboard-based focus.

Charles McCN

On Fri, 7 Apr 2000, Bruce Bailey wrote:

  Dear Christopher,
  
  Thanks very much!
  
  I have tried this only with 5 on the PC.  A few other comments...
  
  The onBlur alert did not work for me until I added another DIV after it.
  Yours works fine, so I am not sure what is up with that.
  
  Works ONLY with IE (not just because Navigator is lame) because of the
  .innerText DOM reference.
  
  Page does not validate since DIV does allows neither onBlur/onFocus NOR
  tabindex attributes!
  Effect works ONLY by when clicking with the mouse.  I thought onFocus was
  suppose to be a functional replacement for onMouseOver?
  
  Could you quote Steven's message (that you were replying to) to the WAI IG
  list?
  
  Thanks again,
  Bruce Bailey
  
  
  > -----Original Message-----
  > From: w3c-wai-ig-request@w3.org [mailto:w3c-wai-ig-request@w3.org]On
  > Behalf Of Christopher Atkinson
  > Sent: Thursday, April 06, 2000 11:01 PM
  > To: w3c-wai-ig@w3.org
  > Subject: Re: Seeking guidance...
  >
  >
  > Dear Steven:
  >
  > If IE Mac 5 displays the behavior you describe, it would be a
  > bug. According
  > to Microsoft's SDK for IE 5, onfocus and onblur are available on IE Mac as
  > of IE Mac 4. As far as I can tell from my experiments on IE 5 PC and
  > Microsoft's documentation, as long as the DIV has its TABINDEX set, you
  > should be able to use onfocus and onblur.
  >
  > The following works as expected in IE PC 5:
  >
  [snip]
  >
  > Since I do not know anything about how screenreaders or other assistive
  > technologies work, I have prepared two DIVs, one with text change and one
  > with alert in the hopes that one of the approaches will work. The text in
  > the particular DIV describes the intended effect. If there is some other
  > effect that is needed to test this against any particular technology, tell
  > me and I will add another DIV.
  >
  > If you would like to try this online rather than cutting and
  > pasting, please
  > go to http://www.pipeline.com/~cwa/onFocusExperiment.html.
  

--
Charles McCathieNevile    mailto:charles@w3.org    phone: +61 (0) 409 134 136
W3C Web Accessibility Initiative                      http://www.w3.org/WAI
Location: I-cubed, 110 Victoria Street, Carlton VIC 3053
Postal: GPO Box 2476V, Melbourne 3001,  Australia 

Received on Friday, 7 April 2000 10:20:39 UTC