ISSUE-2022: The activation behaviour of <a> elements should be defined

link-activation-behavior

The activation behaviour of <a> elements should be defined

State:
PENDING REVIEW
Product:
SVG 2
Raised by:
Cameron McCormack
Opened on:
2008-07-25
Description:
DOM Level 3 Events has the concept of "activation behavior", which is the behavior that occurs as a result of activating some event target, e.g. clicking a link. This activation behavior is the default action of the DOMActivate event. SVG Tiny 1.2 should define the activation behavior of <a> elements as being the traversal of that link, so it is clear that calling evt.preventDefault() on such a DOMActivate event will cause the link traversal not to happen.

I suggest the following text be added just before example link01 in http://dev.w3.org/SVG/profiles/1.2T/publish/linking.html#AElement:

The activation behavior of the 'a' element is for the link to be traversed according to the attributes
on the element. Thus, link traversal can be prevented by canceling the DOMActivate event that
is dispatched by invoking the preventDefault() method on the event object. Note that DOM Level 3
Events requires a click event to be synthesized if activation the 'a' element is not performed in
response to a click event (for example if the user focuses the element and then presses Enter).

See: http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#events-Events-flow-activation
Related Actions Items:
Related emails:
  1. Minutes, May 20 2009 SVG WG telcon (from anthony.grasso@cisra.canon.com.au on 2009-05-20)
  2. Agenda, May 20 2009 SVG WG telcon (from ed@opera.com on 2009-05-19)
  3. Re: ISSUE-2022 (link-activation-behavior): The activation behaviour of <a> elements should be defined [SVG Tiny 1.2] (from schepers@w3.org on 2008-07-25)
  4. ISSUE-2022 (link-activation-behavior): The activation behaviour of <a> elements should be defined [SVG Tiny 1.2] (from sysbot+tracker@w3.org on 2008-07-25)

Related notes:

No additional notes.

Display change log ATOM feed


Dirk Schulze <dschulze@adobe.com>, Chair, Chris Lilley <chris@w3.org>, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 2022.html,v 1.1 2020/01/17 13:19:04 carcone Exp $