test(e2e): scan the sources rail with the rest of the Coach frame

The rail's switched-off rows now meet AA contrast, so the exclusion the
frame's accessibility scan carried for them is gone.
This commit is contained in:
Marc-André Bombeck committed 2026-10-05 07:32:01 +02:00
1 parent 359203d09a
commit a2ef2eec24
1 file changed
-5
-5
View File
@@ -493,11 +493,6 @@ test.describe("Coach page frame", () => {
const scan = async (selector: string, label: string) => {
const result = await new AxeBuilder({ page })
.include(selector)
// The data-area switches belong to the sources rail, which this
// frame embeds unchanged; a switched-off row dims its label below
// AA (`opacity-60` over muted text). That is the rail's own defect,
// left for the rail's rework with the lookback limit.
.exclude('[data-slot="coach-sources-list"]')
.withTags([
"wcag2a",
"wcag2aa",