Sunrise keeps wrapped titles beside their controls while preserving short 22px bars. Highlighted Select2 options use a darker green for readable white text.
The browser loads the shipped Sunrise and jQuery UI stylesheets. The fixture's
main content uses the native cactiTable text color. Device names, response
times, traffic, and alerts are synthetic monitoring data. These fixtures do not
require a running Cacti installation.
The browser follows a device link, opens a real jQuery UI details dialog at 320px, checks its alert data and title bounds, and closes it.
Use the dependency setup in Cacti theme validation, then run
from tests/e2e:
CACTI_THEME_COVERAGE=1 mise exec node@22 -- node node_modules/@playwright/test/cli.js test \
tests/develop-theme-correctness.spec.ts tests/develop-theme-cleanup.spec.ts --project=chromiumSet UPDATE_THEME_SCREENSHOTS=1 to regenerate screenshots. Tests cover native
title spans and controls at 320, 390, and 1280px, links across row states,
Select2 highlights, navigation, active controls, and table-heading states.
Contrast checks compose alpha and sample linear-gradient stops and interiors.
Sunrise's radial page artwork uses its fallback color in these component checks;
this does not establish contrast for that artwork or every rendered pixel.
After committing, measure changed CSS line coverage from the repository root:
mise exec python@3.12 -- python tests/tools/report_changed_coverage.py \
--base fix/raspberry-theme-accessibility --language css --minimum 100 \
--browser-root tests/e2e/test-resultsThis layer extends the shared browser helpers above Raspberry in the native theme
stack. Use origin/develop after the lower layers merge. The gate measures
executed changed CSS lines, not whole-project or branch coverage.

