fix(ui): harden theme toggle accessibility

This commit is contained in:
vince 2026-06-20 00:58:30 +02:00
parent cdb269e505
commit b923ac8947
8 changed files with 75 additions and 9 deletions

View file

@ -35,6 +35,7 @@ describe("React app dashboard state view", () => {
expect(html).toContain('data-ui-theme-toggle="true"');
expect(html).toContain('aria-label="Switch to light theme"');
expect(html).not.toContain("aria-pressed");
expect(html).toContain("Dark");
});
});