fix: improve contrast for 'No description' text to meet WCAG 2 AA
Change text-base-content/50 to text-base-content/70 for better accessibility contrast ratio in role index and show pages
This commit is contained in:
parent
a24bbc2188
commit
954fc4261a
2 changed files with 2 additions and 2 deletions
|
|
@ -31,7 +31,7 @@
|
||||||
<%= if role.description do %>
|
<%= if role.description do %>
|
||||||
<span class="text-sm">{role.description}</span>
|
<span class="text-sm">{role.description}</span>
|
||||||
<% else %>
|
<% else %>
|
||||||
<span class="text-base-content/50">{gettext("No description")}</span>
|
<span class="text-base-content/70">{gettext("No description")}</span>
|
||||||
<% end %>
|
<% end %>
|
||||||
</:col>
|
</:col>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -98,7 +98,7 @@ defmodule MvWeb.RoleLive.Show do
|
||||||
<%= if @role.description do %>
|
<%= if @role.description do %>
|
||||||
{@role.description}
|
{@role.description}
|
||||||
<% else %>
|
<% else %>
|
||||||
<span class="text-base-content/50 italic">{gettext("No description")}</span>
|
<span class="text-base-content/70 italic">{gettext("No description")}</span>
|
||||||
<% end %>
|
<% end %>
|
||||||
</:item>
|
</:item>
|
||||||
<:item title={gettext("Permission Set")}>
|
<:item title={gettext("Permission Set")}>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue