Skip to content

Commit 4fe44d7

Browse files
committed
fix: Update tests based on what axe is currently reporting
1 parent e0b7b23 commit 4fe44d7

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/site-with-errors.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ describe("site-with-errors", () => {
2727
{
2828
scannerType: "axe",
2929
url: "http://127.0.0.1:4000/",
30-
html: '<li class="p-name">Continuous Accessibility Scanner Demo</li>',
30+
html: '<span class="post-meta">Jul 30, 2025</span>',
3131
problemShort: "elements must meet minimum color contrast ratio thresholds",
3232
problemUrl: "https://dequeuniversity.com/rules/axe/4.10/color-contrast?application=playwright",
3333
ruleId: "color-contrast",
@@ -67,7 +67,8 @@ describe("site-with-errors", () => {
6767
}, {
6868
scannerType: "axe",
6969
url: "http://127.0.0.1:4000/jekyll/update/2025/07/30/welcome-to-jekyll.html",
70-
html: '<li class="p-name">Continuous Accessibility Scanner Demo</li>',
70+
html: `<time class="dt-published" datetime="2025-07-30T13:32:33-04:00" itemprop="datePublished">Jul 30, 2025
71+
</time>`,
7172
problemShort: "elements must meet minimum color contrast ratio thresholds",
7273
problemUrl: "https://dequeuniversity.com/rules/axe/4.10/color-contrast?application=playwright",
7374
ruleId: "color-contrast",

0 commit comments

Comments
 (0)