app/components/layout/notification_item_component.html.erb
<% if user %>
<li id="notifications">
<%= link_to notifications_path, rel: "nofollow",
title: text,
class: "notifications #{notifications_class}" do %>
<span class="show-for-sr">
<%= t("layouts.header.notification_item.notifications") %>
</span>
<span class="show-for-small-only"><%= text %></span>
<% end %>
</li>
<% end %>