Add browser accessibility tests for the reports

Fixes found by axe: the chart axis captions are darker and larger, the
period heading keeps its heading role with the live region inside it,
and scrollable tables are focusable regions named by their table.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
2026-11-25 08:56:33 +02:00
co-authored by Claude Sonnet 5.5
parent 52b6a1f0a6
commit 2de3733a3f
8 changed files with 83 additions and 12 deletions
+7
View File
@@ -69,5 +69,12 @@ class AppServiceProvider extends ServiceProvider
->select('native')
->block('error')
->replace('text-red-600!', 'text-red-700! dark:!text-red-400');
// Chart axis captions are gray-500 at 10 px, 4.4:1 on the page background.
foreach (['axis.y.label', 'axis.y.right.label', 'axis.x.label'] as $block) {
TallStackUi::customize('chart')
->block($block)
->replace(['text-gray-500' => 'text-gray-700', 'dark:text-dark-400' => 'dark:text-dark-200', 'text-[0.65rem]' => 'text-xs']);
}
}
}