Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Best practice suggestion for links on website #2

Open
georgiamshaw opened this issue Jul 1, 2019 · 0 comments
Open

Best practice suggestion for links on website #2

georgiamshaw opened this issue Jul 1, 2019 · 0 comments

Comments

@georgiamshaw
Copy link

Your best practice score is pretty high (86) but could be a bit higher and become green! One thing the accessibility tests suggest is removing target_blank or using it with rel="noopener" or rel="noreferrer. This makes it safer and prevent users from directing your users to malicious websites.

This website suggested in the Accessibility Dev Tools is useful: https://developers.google.com/web/tools/lighthouse/audits/noopener

And a friend of mine sent me this after reviewing the code on my website and realising I'd been using target_blank, too. Check it out!
https://www.jitbit.com/alexblog/256-targetblank---the-most-underestimated-vulnerability-ever/?fbclid=IwAR3CL8Acrcmp8G_Np-o2vh14DxZgyW-ZHZ_QhHKLcDT8xVw5VmvuLv6ioJw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant