onClick: Parent element problem (Inaccessible)
- The onclick event handler is on a parent element and the event opens the “World Wide Web Consortium” website in a new window.
- This technique is not compatible with assistive technologies, due to the the onClick event being a parent node of the link. Since the onclick event is not on the link node, assistive technologies do not know to simulate the event.
HTML Source Code