app/views/trestle/shared/_sidebar.html.erb in trestle-0.8.3 vs app/views/trestle/shared/_sidebar.html.erb in trestle-0.8.4
- old
+ new
@@ -1,9 +1,9 @@
<aside class="app-sidebar<%= " #{cookies["trestle:sidebar"]}" if cookies["trestle:sidebar"] %>">
<header class="app-sidebar-header">
<button class="navbar-toggle">
- <span class="sr-only">Toggle navigation</span>
+ <span class="sr-only"><%= t("admin.ui.toggle_navigation", default: "Toggle navigation") %></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
@@ -30,8 +30,10 @@
<% end %>
</ul>
<% end %>
</nav>
- <button class="toggle-sidebar"></button>
+ <button class="toggle-sidebar">
+ <span class="sr-only"><%= t("admin.ui.toggle_sidebar", default: "Toggle sidebar") %></span>
+ </button>
</div>
</aside>