Skip to content

Commit 731c0f2

Browse files
committed
fix contrast failure
1 parent eab1606 commit 731c0f2

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

playwright/preview.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ test.describe("homepage", () => {
1212
await heroSection.waitFor({ state: "visible" });
1313

1414
const accessibilityScanResults = await new AxeBuilder({ page })
15-
.disableRules("color-contrast")
1615
.analyze();
1716

1817
expect(accessibilityScanResults.violations).toEqual([]);

preview/src/components/scroll_area/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ pub(super) fn Demo() -> Element {
1111
width: "10em",
1212
height: "10em",
1313
border: "1px solid var(--dim-border-color)",
14+
color: "var(--text-color)",
1415
border_radius: "0.5em",
1516
padding: "0 1em 1em 1em",
1617
direction: ScrollDirection::Vertical,

0 commit comments

Comments
 (0)