onClick: Open new window example (Accessible)
New Window Example
- The onclick event handler is directly on the a element and opens the “World Wide Web Consortium” website in a new window.
- This technique is compatible with assistive technologies because the technology knows to simulate the onClick event since it is on the same node as the a element.
HTML Source Code