summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md4
-rw-r--r--include/footer.shtml4
-rw-r--r--include/header.shtml4
-rw-r--r--js/init.ts1
4 files changed, 9 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8345dce..471546d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,9 @@
# Changelog
+## 9.5
+
+* Add tool tips
+
## 9.4
* Update page descriptions
diff --git a/include/footer.shtml b/include/footer.shtml
index 37e3d19..b1156f6 100644
--- a/include/footer.shtml
+++ b/include/footer.shtml
@@ -1,11 +1,11 @@
<footer id="footer">
<h1>achernar</h1>
- <p id="cvrNumber">cvr: 44936429</p>
+ <p id="cvrNumber" title="Danish VAT number.">VAT: DK44936429</p>
<br>
<p>Communications can be done in English and Danish.</p>
<br>
<p>This webservice may be cloned from <a href="https://mandelbrot.dk/achernar/" rel="noopener noreferrer" target="_blank"><code>mandelbrot.dk</code></a>.</p>
<br>
- <div class="center" id="emailAddress"></div>
+ <div class="center" id="emailAddress" title="Obfuscated email address."></div>
</footer>
diff --git a/include/header.shtml b/include/header.shtml
index 1e0c7d0..d6fb1e6 100644
--- a/include/header.shtml
+++ b/include/header.shtml
@@ -1,7 +1,7 @@
<header id="header">
<div id="navBar">
<section>
- <a id="home" href="/html/achernar.html"></a>
+ <a id="home" href="/html/achernar.html" title="Home"></a>
</section>
<section>
@@ -12,7 +12,7 @@
</section>
<section>
- <a id="hamburger" onclick="Ach.toggleSideMenu();"></a>
+ <a id="hamburger" onclick="Ach.toggleSideMenu();" title="Side menu"></a>
</section>
</div>
diff --git a/js/init.ts b/js/init.ts
index f249902..528e0f4 100644
--- a/js/init.ts
+++ b/js/init.ts
@@ -41,6 +41,7 @@ namespace Ach {
hyperlinkElement.setAttribute("href", sourceUrl);
hyperlinkElement.setAttribute("rel", "noopener noreferrer");
hyperlinkElement.setAttribute("target", "_blank");
+ hyperlinkElement.setAttribute("title", "Click to view image source.");
let image_element = document.createElement("img");
image_element.setAttribute("alt", alt);