alt attributes

This commit is contained in:
Mark Otto 2016-10-19 00:30:59 -07:00
parent 4ee28feb14
commit f8e4a531cf
1 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ Adding images to the `.navbar-brand` will likely always require custom styles or
<!-- Just an image -->
<nav class="navbar navbar-light bg-faded">
<a class="navbar-brand" href="#">
<img src="{{ site.baseurl }}/assets/brand/bootstrap-solid.svg" width="30" height="30">
<img src="{{ site.baseurl }}/assets/brand/bootstrap-solid.svg" width="30" height="30" alt="">
</a>
</nav>
{% endexample %}
@ -93,7 +93,7 @@ Adding images to the `.navbar-brand` will likely always require custom styles or
<!-- Image and text -->
<nav class="navbar navbar-light bg-faded">
<a class="navbar-brand" href="#">
<img src="{{ site.baseurl }}/assets/brand/bootstrap-solid.svg" width="30" height="30" class="d-inline-block align-top">
<img src="{{ site.baseurl }}/assets/brand/bootstrap-solid.svg" width="30" height="30" class="d-inline-block align-top" alt="">
Bootstrap
</a>
</nav>