Adds support for ping, hreflang, type, and referrerPolicy attributes on SVGAElement, aligning its behavior with HTMLAnchorElement for consistent link handling across HTML and SVG.
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.