diff --git a/app/helpers/boards_helper.rb b/app/helpers/boards_helper.rb index 5b4f7068b..9b9ee89b3 100644 --- a/app/helpers/boards_helper.rb +++ b/app/helpers/boards_helper.rb @@ -4,9 +4,8 @@ module BoardsHelper end def link_to_edit_board(board) - link_to edit_board_path(board), class: "btn", data: { - controller: "tooltip", bridge__overflow_menu_target: "item", bridge_title: "Settings for #{board.name}" - } do + link_to edit_board_path(board), class: "btn", + data: { controller: "tooltip", bridge__overflow_menu_target: "item", bridge_title: "Board settings" } do icon_tag("settings") + tag.span("Settings for #{board.name}", class: "for-screen-reader") end end diff --git a/app/views/notifications/index.html.erb b/app/views/notifications/index.html.erb index b09c7856b..a9b176629 100644 --- a/app/views/notifications/index.html.erb +++ b/app/views/notifications/index.html.erb @@ -9,7 +9,7 @@

<%= @page_title %>

- <%= link_to notifications_settings_path, class: "btn" do %> + <%= link_to notifications_settings_path, class: "btn", data: { bridge__overflow_menu_target: "item", bridge_title: "Notification settings" } do %> <%= icon_tag "settings" %> Notification settings <% end %>