Skip to content

Commit

Permalink
Added aria-label attributes for accessibility
Browse files Browse the repository at this point in the history
  • Loading branch information
bradygm committed Mar 6, 2024
1 parent 98fe8f5 commit 124ab8c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,22 +46,22 @@
<!-- <a class="button" itemprop="email" href="https://www.facebook.com" target="_blank">
<i class="fab fa-github"></i>
</a> -->
<a class="button" itemprop="linkedin" href="https://www.linkedin.com/company/the-air-lab-at-carnegie-mellon-university" target="_blank">
<a class="button" itemprop="linkedin" href="https://www.linkedin.com/company/the-air-lab-at-carnegie-mellon-university" aria-label="link to lab linkedin account" target="_blank">
<i class="fab fa-linkedin fa-lg" style="height:100%;"></i>
</a>
<a class="button" itemprop="youtube" href="https://www.youtube.com/@airlab" target="_blank">
<a class="button" itemprop="youtube" href="https://www.youtube.com/@airlab" aria-label="link to lab youtube account" target="_blank">
<i class="fab fa-youtube fa-lg" style="height:100%;"></i>
</a>
<a class="button" itemprop="twitter" href="https://www.twitter.com/airlabcmu/" target="_blank">
<a class="button" itemprop="twitter" href="https://www.twitter.com/airlabcmu/" aria-label="link to lab twitter account" target="_blank">
<i class="fab fa-twitter fa-lg"></i>
</a>
<a class="button" itemprop="medium" href="https://medium.com/airlabcmu" target="_blank">
<a class="button" itemprop="medium" href="https://medium.com/airlabcmu" aria-label="link to lab medium account" target="_blank">
<i class="fab fa-medium fa-lg"></i>
</a>
<a class="button" itemprop="github" href="https://github.com/castacks" target="_blank">
<a class="button" itemprop="github" href="https://github.com/castacks" aria-label="link to lab github account" target="_blank">
<i class="fab fa-github fa-lg"></i>
</a>
<a class="button" itemprop="bitbucket" href="https://bitbucket.org/castacks/" target="_blank">
<a class="button" itemprop="bitbucket" href="https://bitbucket.org/castacks/" aria-label="link to lab bitbucket account" target="_blank">
<i class="fab fa-bitbucket fa-lg"></i>
</a>
<br>
Expand Down
6 changes: 3 additions & 3 deletions _layouts/bibtemplate.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@
</script>

{% if entry.doi %}
<a href="{{ entry.doi | prepend: 'https://doi.org/' }}"><input type='button' class='button1' value='doi'/></a>
<a href="{{ entry.doi | prepend: 'https://doi.org/' }}" aria-label="doi link for paper"><input type='button' class='button1' value='doi'/></a>
{% endif %}
{% if entry.preprint %}
<a href="{{ entry.preprint }}"><input type='button' class='button2' value='preprint'/></a>
{% endif %}
{% if entry.url %}
<a href='{{ entry.url | escape }}'><input type='button' class='button4' value='link'/></a>
<a href='{{ entry.url | escape }}' aria-label="pdf link for paper"><input type='button' class='button4' value='link'/></a>
{% endif %}
{% if entry.video %}
<a href="{{ entry.video}}"><input type='button' class='button5' value='video'/></a>
<a href="{{ entry.video}}" aria-label="video link for paper"><input type='button' class='button5' value='video'/></a>
{% endif %}
<!-- {% if entry.code %} -->
<!-- <a href="{{ entry.code }}"><input type='button' class='button3' value='code'/></a> -->
Expand Down

0 comments on commit 124ab8c

Please sign in to comment.