mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
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:
1 parent
359203d09a
commit
a2ef2eec24
1 file changed
-5
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user