Skip to content

Commit

Permalink
Set the role for the flash messages area
Browse files Browse the repository at this point in the history
  • Loading branch information
elia committed Jul 19, 2023
1 parent d140b24 commit c19f3c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/app/views/layouts/solidus_admin/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</head>

<body>
<div class="fixed right-3 bottom-3 flex flex-col gap-3">
<div class="fixed right-3 bottom-3 flex flex-col gap-3" role="alert">
<% flash.each do |key, message| %>
<%= render component("ui/toast").new(text: message, scheme: key == :error ? :error : :default) %>
<% end %>
Expand Down

0 comments on commit c19f3c3

Please sign in to comment.