Skip to content

Commit

Permalink
Add aria-label to button for translation
Browse files Browse the repository at this point in the history
  • Loading branch information
froggleston committed Apr 10, 2024
1 parent 40bdd1d commit a3a595f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/pkgdown/templates/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@
</form>
-->
{{^overview}}
<a class="btn btn-primary" href="{{#site}}{{root}}{{/site}}aio.html" role="button">{{ translate.SearchButton }}</a>
{{/overview}}
<a class="btn btn-primary" href="{{#site}}{{root}}{{/site}}aio.html" role="button" aria-label="{{ translate.SearchButton }}">{{ translate.SearchButton }}</a>
{{/overview}}
</div><!--/div.container-fluid -->
</nav>

Expand Down

0 comments on commit a3a595f

Please sign in to comment.