Contact emails
Specification
Summary
Adds support for ping, hreflang, type, and referrerPolicy attributes on SVGAElement, aligning its behavior with HTMLAnchorElement for consistent link handling across HTML and SVG.
Blink component
Web Feature ID
Motivation
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.
ping: Specifies URLs to be notified when a link is followed, enabling lightweight tracking and analytics without disrupting navigation.
hreflang: Indicates the language of the linked resource, improving accessibility and helping search engines serve localized content.
type: Declares the MIME type of the linked resource, allowing smarter handling and performance optimization.
referrerPolicy: Controls how much referrer info is sent when navigating. Policies like no-referrer or strict-origin-when-cross-origin enhance privacy and security.
These enhancements make SVG links more powerful, predictable, and aligned with modern web standards.
Initial public proposal
No information provided
TAG review
No information provided
TAG review status
Not applicable
Risks
Interoperability and Compatibility
Gecko only partially supports the ping attribute
WebKit has recently shipped hreflang and type attribute support for SVG <a> element
Web developers: No signals
Other signals: 10+ users have upvoted on the Chromium bug.
WebView application risks
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None
Debuggability
Attributes will be inspectable via DevTools Elements panel, consistent with HTML <a> element.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?
Yes
Yes
For ping:
for hreflang:
for type:
for referrerPolicy:
120 new WPTs tests are generated for checking the various cases of referrerPolicy, the tests have the pattern *referrer-policy/gen/*/svg-a-tag.http.html*
Flag name on about://flags
No information provided
Finch feature name
SvgAnchorElementAttributes
Rollout plan
Will ship enabled for all users
Requires code in //chrome?
False
Tracking bug
Estimated milestones
|
Shipping on desktop
|
144
|
|
Shipping on Android
|
144
|
|
Shipping on WebView
|
144
|
Anticipated spec changes
Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g.,
changing to naming or structure of the API in a non-backward-compatible way).
No information provided
Link to entry on the Chrome Platform Status