This should pass: this is a link this too: Computer Examples Example 1: Scripting a span element Scripted event handling is added to a span element so that it functions as a link when clicked with a mouse. Assistive technology does not recognize this element as a link. Fake link Example 2: Scripting an img element Scripted event handling is added to an img element so that it functions as a link when clicked with a mouse. Assistive technology does not recognize this element as a link. go to the new page Example 3: Scripting an img element, with keyboard support Scripted event handling is added to an img element so that it functions as a link. In this example, the link functionality can be invoked with the mouse or via the Enter key if the user agent includes the element in the tab chain. Nevertheless, the element will not be recognized as a link. The markup for the image is:

View Bargains

Example 4: Scripting a div element This example uses script to make a div element behave like a link. Although the author has provided complete keyboard access and separated the event handlers from the markup to enable repurposing of the content, the div element will not be recognized as a link by assistive technology. The markup for the div element is:
View the results of the survey.
Passed Shadow DOM Test 1
Passed Shadow DOM Test 2
Failed Shadow DOM Test 1
Failed Shadow DOM Test 2
Failed Shadow DOM Test 3
Failed Shadow DOM Test 4