Skip to content

Commit

Permalink
remove a broken link (mdn#18499)
Browse files Browse the repository at this point in the history
* remove a broken link

* Apply suggestions from code review

Co-authored-by: Jean-Yves Perrier <[email protected]>

Co-authored-by: Jean-Yves Perrier <[email protected]>
  • Loading branch information
OnkarRuikar and teoli2003 authored Jul 19, 2022
1 parent a71d5f9 commit 9ca8b11
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions files/en-us/web/api/window/open/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -363,12 +363,6 @@ recommendable usability and accessibility guidelines:
- Protocol scheme "javascript:" will be reported as an error by link validators and
link checkers.

**Further reading:**

- [Top Ten Web-Design Mistakes of 2002](https://www.useit.com/alertbox/20021223.html), 6. JavaScript in Links, Jakob Nielsen, December 2002
- [Links & JavaScript Living Together in Harmony](https://evolt.org/article/Links_and_JavaScript_Living_Together_in_Harmony/17/20938/), Jeff Howden, February 2002
- [comp.lang.javascript newsgroup discussion FAQ on "javascript:" links](https://jibbering.com/faq/#FAQ4_24)

#### Never use `<a href="#" onclick="window.open(...);">`

Such pseudo-link also breaks accessibility of links. **Always use a real URL for
Expand Down

0 comments on commit 9ca8b11

Please sign in to comment.