Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Qualls <aqualls@gitlab.com>2020-08-10 21:59:07 +0300
committerAmy Qualls <aqualls@gitlab.com>2020-08-10 21:59:07 +0300
commit6269483b92f4a0bbe6deaf08626b4589b7a1fdb3 (patch)
treeafdac6196d3ec3c5feafc387c15c80dda9a331b4
parent830063263a0b19ff7ab8e4c7da6b58a62ae12987 (diff)
Add alt tags to Tanuki logosdocs-aqualls-gitlab-logo
Small accessibility improvement - add alt tags to our logos in the header and footer of our docs pages.
-rw-r--r--layouts/footer.html2
-rw-r--r--layouts/header.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/footer.html b/layouts/footer.html
index 247eb266..eb6132d4 100644
--- a/layouts/footer.html
+++ b/layouts/footer.html
@@ -28,7 +28,7 @@
</div>
<div class="row py-2">
<div class="col-12 py-3">
- <img src="<%= @items['/assets/images/gitlab-logo.svg'].path %>" class="m-0" width="24" height="24" />
+ <img src="<%= @items['/assets/images/gitlab-logo.svg'].path %>" class="m-0" width="24" height="24" alt='GitLab logo'/>
</div>
<div class="col-12 py-1">
<ul class="list-unstyled list-inline my-0 d-flex flex-wrap">
diff --git a/layouts/header.html b/layouts/header.html
index 81a18fca..0790eeb1 100644
--- a/layouts/header.html
+++ b/layouts/header.html
@@ -1,7 +1,7 @@
<div class="header">
<div class="flex-container align-center">
<a class="header-link logo-container flex-container justify-center align-center" href="/">
- <img src="<%= @items['/assets/images/gitlab-logo.svg'].path %>" class="logo" />
+ <img src="<%= @items['/assets/images/gitlab-logo.svg'].path %>" class="logo" alt='GitLab logo'/>
<p><span class="header-company-name">GitLab </span><strong>Docs</strong></p>
</a>
<% if @item[:searchbar].nil? %>