diff options
author | Adam T. Carpenter <atc@53hor.net> | 2024-06-02 21:50:09 -0400 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2024-06-02 21:50:09 -0400 |
commit | 755c6978285eca7faa2891baa42bd920a8fc517f (patch) | |
tree | fcf420de0bb32597fcf21cf589254e921b2adddd | |
parent | 5ec43b592ce9678b75d27c138114855e4186e57b (diff) | |
download | 53hor-755c6978285eca7faa2891baa42bd920a8fc517f.tar.xz 53hor-755c6978285eca7faa2891baa42bd920a8fc517f.zip |
feat: remove _blank targets for accessibility
Users decide whether links open in new tabs!
-rw-r--r-- | assets/resume.html | 4 | ||||
-rw-r--r-- | includes/foot.php | 4 | ||||
-rw-r--r-- | includes/nav.php | 2 | ||||
-rw-r--r-- | index.php | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/assets/resume.html b/assets/resume.html index 7507a30..0c1addc 100644 --- a/assets/resume.html +++ b/assets/resume.html @@ -5,8 +5,8 @@ <a href="mailto:atc@53hor.net">atc@53hor.net</a> <a href="tel:7577746829">(757) 774-6829</a> <a href="https://www.53hor.net/hireme">www.53hor.net</a> - <a target="_blank" href="https://git.53hor.net">git.53hor.net</a> - <a target="_blank" href="https://www.linkedin.com/in/adam-carpenter">LinkedIn</a> + <a href="https://git.53hor.net">git.53hor.net</a> + <a href="https://www.linkedin.com/in/adam-carpenter">LinkedIn</a> </div> <p> diff --git a/includes/foot.php b/includes/foot.php index f0330de..e8432b9 100644 --- a/includes/foot.php +++ b/includes/foot.php @@ -6,9 +6,9 @@ <p> © 2019-<?php printf('%s', date('Y')); ?> Adam Carpenter <br> - Content released under <a target="_blank" href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>. + Content released under <a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>. <br> - Source code released under <a target="_blank" href="https://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause</a>, unless otherwise stated. + Source code released under <a href="https://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause</a>, unless otherwise stated. <noscript> JavaScript? Where we're going we don't need JavaScript. </noscript> diff --git a/includes/nav.php b/includes/nav.php index 1cac23c..93d83fa 100644 --- a/includes/nav.php +++ b/includes/nav.php @@ -33,7 +33,7 @@ <a href="/links">Links</a> </li> <li> - <a target="_blank" href="https://git.53hor.net/">Repos</a> + <a href="https://git.53hor.net/">Repos</a> </li> <li> <a href="/feed.php">RSS</a> @@ -7,7 +7,7 @@ if (empty($page)) { } else if (!empty($page) && $page[0] >= '0' && $page[0] <= '9' && is_readable("./posts/$page.php")) { $script = file_get_contents("./posts/$page.php"); $re = '/<code>([^\(<>\)]*)\(([0-9])\)<\/code>/m'; - $subst = '<a target="_blank" href="https://www.freebsd.org/cgi/man.cgi?query=$1&sektion=$2&format=ascii">$1($2)</a>'; + $subst = '<a href="https://www.freebsd.org/cgi/man.cgi?query=$1&sektion=$2&format=ascii">$1($2)</a>'; $script = preg_replace($re, $subst, $script); eval("?>$script<?php"); } else if (!empty($page) && is_readable("./pages/$page.php")) { |