Skip to content

Commit

Permalink
[rubyforgood#5777] Add accessibility labels
Browse files Browse the repository at this point in the history
  • Loading branch information
priyapower committed Jul 17, 2024
1 parent 146fa54 commit 404c4f2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/components/form/title_component.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
<% if @progress %>
<div class="col-12 col-md-6 align-items-center d-flex gap-2 mt-2 mt-md-0">
<% if @navigable %>
<%= link_to @nav_back do %>
<i class="lni lni-chevron-left"></i>
<%= link_to @nav_back, title: "Back step", aria: { label: "Back step" } do %>
<i class="lni lni-chevron-left", alt: "Chevron icon left"></i>
<% end %>
<%= link_to @nav_next do %>
<i class="lni lni-chevron-right"></i>
<%= link_to @nav_next, title: "Next step", aria: { label: "Next step" } do %>
<i class="lni lni-chevron-right", alt: "Chevron icon right"></i>
<% end %>
<% end %>
<p class="col-auto">
Expand Down

0 comments on commit 404c4f2

Please sign in to comment.