[Webkit-unassigned] [Bug 63551] SVGElement 'blur' event is not working

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 30 15:22:45 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=63551





--- Comment #4 from ViewPlus <courtney.christensen at viewplus.com>  2011-08-30 15:22:45 PST ---
Created an attachment (id=105707)
 --> (https://bugs.webkit.org/attachment.cgi?id=105707&action=review)
Displays focus, blur, focusin, focusout, activate, DOMFocusIn, DOMFocusOut, and DOMActivate events on SVG and HTML elements.

I have been running some SVG focus-related tests (spurred by trying to capture iOS VoiceOver's focus-ring changes in JavaScript, see [1]). It seems[2] SVG *should* only be firing `DOMFocusIn`, `DOMFocusOut`, and `DOMActivate`.

However, with elements taking on "group" roles via `tabindex` and/or `role="button"`, I've found:

  * Chrome (14b) fires all events on SVG, even `focus` and `blur`, which it technically should not.
  * Desktop Safari (5.1) only fires `DOMActivate` for SVG.
  * iOS Safari (w/VoiceOver on) fires nothing for SVG

Live example at:
  http://viewplus.com/downloads/htmltests/accessibility/focus-events.xhtml

--------------------------------------------------------
            | Chrome 14b | Safari 5.1 | Mobile Safari* |
--------------------------------------------------------
focus       |    H, S    |     H      |       H        |
blur        |    H, S    |     H      |       H        |
focusin     |    H, S    |     H      |       H        |
focusout    |    H, S    |     H      |       H        |
activate    |            |            |                |
DOMFocusIn  |    H, S    |     H      |       H        |
DOMFocusOut |    H, S    |     H      |       H        |
DOMActivate |    H, S    |    H, S    |       H        |
--------------------------------------------------------
Key:
  H => fires on HTML elements
  S => fires on SVG elements
  * => only w/VoiceOver (iOS) activated
--------------------------------------------------------

I found an old bug[3] which sounds related, but has long since been marked RESOLVED/FIXED. Also, I would like to confirm Dirk's assertion that this is an important accessibility feature. I'm going to keep an eye on this bug


[1]: http://old.nabble.com/Considering-a-Touchhover-td31127221.html#a31129788
[2]: http://www.w3.org/TR/SVGTiny12/interact.html#focus
[3]: https://bugs.webkit.org/show_bug.cgi?id=12573

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list