-
Notifications
You must be signed in to change notification settings - Fork 31
Description
WebKittens
No response
Title of the proposal
Support ping, hreflang, type and referrerPolicy for SVG element
URL to the spec
https://svgwg.org/svg2-draft/linking.html#InterfaceSVGAElement
URL to the spec's repository
https://github.com/w3c/svgwg/blob/main/master/linking.html
Issue Tracker URL
https://issues.chromium.org/issues/40589293
Explainer URL
No response
TAG Design Review URL
No response
Mozilla standards-positions issue URL
No response
WebKit Bugzilla URL
No response
Radar URL
No response
Description
The hreflang, ping, referrerPolicy, and type attributes in SVGAElement mirror their HTML anchor counterparts, promoting consistent behavior across web technologies. They support language targeting, tracking control, privacy settings, and content type hints, making SVG links more consistent and developer friendly.
Firefox already supports hreflang, type and referrerPolicy attributes.
https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement#browser_compatibility
but they don't support the ping functionality completely (only partial support is there)
https://bugzilla.mozilla.org/show_bug.cgi?id=951104