href tests for <a> elements with data-type="xref"