Skip to content

Commit

Permalink
👌 IMPROVE: Add missing aria-label to fullscreen button (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
foster999 authored Oct 6, 2020
1 parent 7239788 commit 54f01ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sphinx_book_theme/topbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@

<!-- Full screen (wrap in <a> to have style consistency -->
<a class="full-screen-button"><button type="button" class="btn btn-secondary topbarbtn" data-toggle="tooltip"
data-placement="bottom" onclick="toggleFullScreen()" title="{{ translate('Fullscreen mode') }}"><i
data-placement="bottom" onclick="toggleFullScreen()" aria-label="{{ translate('Fullscreen mode') }}"
title="{{ translate('Fullscreen mode') }}"><i
class="fas fa-expand"></i></button></a>

{% include "topbar/launchbuttons.html" %}
Expand Down

0 comments on commit 54f01ba

Please sign in to comment.