Skip to content

Commit

Permalink
updated aria label for chat button to match link text
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahcrack committed Dec 5, 2024
1 parent f287b10 commit 0a54dae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/chat_component.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<%= tag.div data: { controller: "chat", available: Chat.available?, "chat-target": "container" }, class: "chat" do %>
<div data-chat-target="online" class="hidden">
<p>
<a class="button new-tab" href="/chat#root" target="chat" data-action="chat#start" data-chat-target="chat" aria-label="Chat online">Open chat in new tab</a>
<a class="button new-tab" href="/chat#root" target="chat" data-action="chat#start" data-chat-target="chat" aria-label="Open chat in new tab">Open chat in new tab</a>
</p>
</div>
<div data-chat-target="offline" class="hidden">
Expand Down

0 comments on commit 0a54dae

Please sign in to comment.