From 68444493c2234172f70d934af04953a3870160e6 Mon Sep 17 00:00:00 2001 From: Andreas Hubert Date: Thu, 7 May 2026 15:08:07 +0000 Subject: [PATCH] PFX-WB-035: Add hidden caption to dashboard fund documents table Worker-Model: openai-codex/gpt-5.3-codex Worker-Thinking: high --- lib/portfolixir_web/live/dashboard_live.ex | 3 +++ test/portfolixir_web/live/dashboard_live_test.exs | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/lib/portfolixir_web/live/dashboard_live.ex b/lib/portfolixir_web/live/dashboard_live.ex index 0b52817..8d57e3d 100644 --- a/lib/portfolixir_web/live/dashboard_live.ex +++ b/lib/portfolixir_web/live/dashboard_live.ex @@ -172,6 +172,9 @@ defmodule PortfolixirWeb.DashboardLive do <% else %>
+ diff --git a/test/portfolixir_web/live/dashboard_live_test.exs b/test/portfolixir_web/live/dashboard_live_test.exs index f878f59..b714e1f 100644 --- a/test/portfolixir_web/live/dashboard_live_test.exs +++ b/test/portfolixir_web/live/dashboard_live_test.exs @@ -120,6 +120,13 @@ defmodule PortfolixirWeb.DashboardLiveTest do {:ok, view, _html} = live(conn, "/") assert has_element?(view, "#dashboard-recent-fund-documents") + + assert has_element?( + view, + "#dashboard-fund-documents-table-caption.app-shell-visually-hidden", + "Recent fund documents with security, filename, extraction status, and review action." + ) + assert has_element?(view, "#dashboard-fund-document-row-#{fund_document.id}") assert has_element?(view, "#dashboard-fund-document-row-#{fund_document.id}", security.name) assert has_element?(view, "#dashboard-fund-document-row-#{fund_document.id}", security.symbol)
+ <%= gettext("Recent fund documents with security, filename, extraction status, and review action.") %> +
<%= gettext("Security") %>