From 1dd7c0eaa07a0e19909b1d7254c070800461c349 Mon Sep 17 00:00:00 2001 From: Moritz Date: Thu, 8 Jan 2026 12:00:38 +0100 Subject: [PATCH] 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 --- lib/mv_web/live/role_live/index.html.heex | 2 +- lib/mv_web/live/role_live/show.ex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/mv_web/live/role_live/index.html.heex b/lib/mv_web/live/role_live/index.html.heex index f863abb..f409944 100644 --- a/lib/mv_web/live/role_live/index.html.heex +++ b/lib/mv_web/live/role_live/index.html.heex @@ -31,7 +31,7 @@ <%= if role.description do %> {role.description} <% else %> - {gettext("No description")} + {gettext("No description")} <% end %> diff --git a/lib/mv_web/live/role_live/show.ex b/lib/mv_web/live/role_live/show.ex index 5ddcc7f..084b0ff 100644 --- a/lib/mv_web/live/role_live/show.ex +++ b/lib/mv_web/live/role_live/show.ex @@ -98,7 +98,7 @@ defmodule MvWeb.RoleLive.Show do <%= if @role.description do %> {@role.description} <% else %> - {gettext("No description")} + {gettext("No description")} <% end %> <:item title={gettext("Permission Set")}>