summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelianthella <git@gumi.ca>2020-12-22 11:02:15 -0500
committerHelianthella <git@gumi.ca>2020-12-22 11:02:15 -0500
commitdffbf1ce89cd61a3165fd1dad35e9c4d2f6c08dc (patch)
tree8604f01f402c216674507e9f04948d8445b2f8a9
parent312536f66dfc5252ba15fbe55087ae269877cdd4 (diff)
downloadwebsite-dffbf1ce89cd61a3165fd1dad35e9c4d2f6c08dc.tar.gz
website-dffbf1ce89cd61a3165fd1dad35e9c4d2f6c08dc.tar.bz2
website-dffbf1ce89cd61a3165fd1dad35e9c4d2f6c08dc.tar.xz
website-dffbf1ce89cd61a3165fd1dad35e9c4d2f6c08dc.zip
add titles and labels to ambiguous links
-rw-r--r--src/components/Logo.vue2
-rw-r--r--src/components/Navigation.vue10
-rw-r--r--src/components/ServerStatus.vue6
3 files changed, 9 insertions, 9 deletions
diff --git a/src/components/Logo.vue b/src/components/Logo.vue
index 8b653e1..a9a2281 100644
--- a/src/components/Logo.vue
+++ b/src/components/Logo.vue
@@ -1,5 +1,5 @@
<template>
- <router-link tag="div" :to="{ name: 'home' }" class="logo">
+ <router-link tag="div" :to="{ name: 'home' }" class="logo" title="Go to home page" aria-label="go back to the home page">
<span>The </span>Mana World
<!--<span>Feel the mana power growing inside you</span>-->
<span>A free open source 2D MMORPG in development</span>
diff --git a/src/components/Navigation.vue b/src/components/Navigation.vue
index 9f4e530..3ced42e 100644
--- a/src/components/Navigation.vue
+++ b/src/components/Navigation.vue
@@ -18,15 +18,15 @@
<ServerStatus class="status"/>
</div>
<div class="screenshots">
- <a href="https://wiki.themanaworld.org/index.php/Screenshots">Screenshots</a>
+ <a href="https://wiki.themanaworld.org/index.php/Screenshots" title="Screenshots" aria-label="view screenshots">Screenshots</a>
</div>
<div>
<span>Source Code</span>
<ul>
- <li><a href="https://github.com/themanaworld">The Mana World</a></li>
- <li><a href="https://gitlab.com/evol">Evol Online</a></li>
- <li><a href="https://gitlab.com/manaplus">ManaPlus</a></li>
- <li><a href="https://github.com/bjorn/tiled">Tiled</a></li>
+ <li><a href="https://github.com/themanaworld" aria-label="source code for The Mana World">The Mana World</a></li>
+ <li><a href="https://gitlab.com/evol" aria-label="source code for Evol Online">Evol Online</a></li>
+ <li><a href="https://gitlab.com/manaplus" aria-label="source code for ManaPlus">ManaPlus</a></li>
+ <li><a href="https://github.com/bjorn/tiled" aria-label="source code for Tiled">Tiled</a></li>
</ul>
</div>
</nav>
diff --git a/src/components/ServerStatus.vue b/src/components/ServerStatus.vue
index 4b1e0d9..d9d23b2 100644
--- a/src/components/ServerStatus.vue
+++ b/src/components/ServerStatus.vue
@@ -1,8 +1,8 @@
<template>
<aside>
- <a v-if="Online && Players" target="_blank" rel="noopener" href="https://server.themanaworld.org">Online: {{Players}} players</a>
- <a v-if="Online && !Players" target="_blank" rel="noopener" href="https://server.themanaworld.org">Online</a>
- <a v-if="!Online" class="offline" target="_blank" rel="noopener" href="https://www.youtube-nocookie.com/embed/ILVfzx5Pe-A?autoplay=1&amp;modestbranding=1">Offline</a>
+ <a v-if="Online && Players" title="View List" aria-label="view list of online players" target="_blank" rel="noopener" href="https://server.themanaworld.org">Online: {{Players}} players</a>
+ <a v-if="Online && !Players" title="View List" aria-label="view list of online players" target="_blank" rel="noopener" href="https://server.themanaworld.org">Online</a>
+ <a v-if="!Online" class="offline" title="???" aria-label="open a YouTube video" target="_blank" rel="noopener" href="https://www.youtube-nocookie.com/embed/ILVfzx5Pe-A?autoplay=1&amp;modestbranding=1">Offline</a>
</aside>
</template>