The problem here is almost certainly that you are dynamically creating the attribute and applying attributes on the element BEFORE you have inserted it into the DOM. Create the base element, append it into the DOM, and then add your attributes after.
Please verify the version of auro-hyperlink you have installed
4.1.1
Please describe the bug
Reproducing the error
None
Expected behavior
Hyperlink should appear on page with no runtime errors.
What browsers are you seeing the problem on?
No response
Additional context
Code for my Hyperlink element:
Using that hyperlink:
Exit criteria
No response