fix(a): handle SVGAElement differently from HTML anchor tag

Before this change, SVG elements without an 'href' attribute (but with an xlink:href attribute)
within the application would always have their click event preventDefault, due to the href
attribute being falsy.

This change fixes this by giving an SVGAElement a separate link function which is concerned with
the xlink:href attribute.

Closes #5896