v144 · miscellaneous

Support ping, hreflang, type and referrerPolicy for SVGAElement

Adds support for ping, hreflang, type, and referrerPolicy attributes on SVGAElement, aligning its behavior with HTMLAnchorElement for consistent link handling across HTML and SVG.

concepts

  1. SVG Anchor Attributes

    SVG <a> now honours ping, hreflang, type, and referrerpolicy — bringing it to parity with HTML <a>.

  2. SVG <a> vs HTML <a>

    Inspect the new IDL properties on an SVG <a> (ping, hreflang, type, referrerPolicy) next to an HTML anchor with the same attributes.

  3. Ping Beacon Test

    Configure every new attribute on an SVG <a>, click it, and watch the beacon log. The IDL properties read back live so you can confirm what Chrome reflects.

  4. Security Policy

    All 8 referrerpolicy values applied to SVG <a> elements — with a live display of what Referer header each sends and a comparison to the equivalent HTML <a> behaviour.

why it shipped

The SVGAElement interface in SVG 2.0 is evolving to align more closely with HTML anchor elements, now supporting attributes like ping, hreflang, type, and referrerPolicy. This promotes consistency across web technologies and gives developers more control over link behavior and metadata.

references