Skip to content

Commit

Permalink
add alt to img + sr text
Browse files Browse the repository at this point in the history
  • Loading branch information
aatauil committed Feb 25, 2021
1 parent 3d10f55 commit 1df0738
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion app/components/hero/carousel.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,10 @@
{{#each this.items as |item|}}
<button {{ on 'click' (fn this.setIndex item)}} type="button" class="carousel-nav-link {{if (eq this.index item) "
carousel-nav-link--active relative"}}">
<span class="sr-only">slide number {{item}}</span>
{{#if (eq this.index item) }}
<div class="progress">

<span class="sr-only">current slide</span>
</div>
{{/if}}
</button>
Expand Down
2 changes: 1 addition & 1 deletion app/components/hero/data-cycle.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
<div class="what-line">
</div>
</div>
<img src="/assets/vector/data-cycle.svg" alt="">
<img src="/assets/vector/data-cycle.svg" alt="data-cycle">
</div>
2 changes: 1 addition & 1 deletion app/templates/not-found.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
<LinkTo @route="index" class="btn-primary">Back to the homepage</LinkTo>
</article>
<div class="container py-12 margin-bottom-medium">
<img src="/assets/vector/404.svg" alt="">
<img src="/assets/vector/404.svg" alt="page not found">
</div>

0 comments on commit 1df0738

Please sign in to comment.