Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 1 addition & 18 deletions tooling/playwright-www/tests/a11y.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,24 +155,7 @@ test.describe("A11y Smoke Tests", () => {
await page.waitForLoadState("networkidle");

// Page-level smoke test with rules disabled for known issues
await assertNoA11yViolations(page, {
disableRules: [
// Known issues from third-party libraries
// TODO: Re-enable once fumadocs-twoslash fixes aria-allowed-attr violation
// fumadocs-twoslash renders <span class="twoslash-hover" type="button"> which is invalid HTML
// Should use <button> element instead of <span> for interactive hover triggers
// Track: https://github.com/fuma-nama/fumadocs/issues/2574
"aria-allowed-attr", // shiki-twoslash
// TODO: Re-enable once fumadocs-ui fixes scrollable-region-focusable
// code block containers need keyboard focus
// Track: https://github.com/fuma-nama/fumadocs/issues/2573
"scrollable-region-focusable",
// TODO: Re-enable once fumadocs-ui fixes listitem issue
// fumadocs-ui renders secondary nav items in <div> instead of <ul>
// Track: https://github.com/fuma-nama/fumadocs/issues/2566
"listitem",
],
});
await assertNoA11yViolations(page);
}
});

Expand Down
Loading