Skip to content

Support ping, hreflang, type and referrerPolicy for SVG <a> element #566

@goldenboy777

Description

@goldenboy777

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: svgvenue: W3C SVG WGProposal is being reviews in the W3C's SVG Working Group

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions