@@ -58,6 +58,7 @@ describe('site-with-errors', () => {
5858 const expected = [
5959 {
6060 scannerType : 'axe' ,
61+ category : 'wcag' ,
6162 url : 'http://127.0.0.1:4000/' ,
6263 html : '<span class="post-meta">Jul 30, 2025</span>' ,
6364 problemShort : 'elements must meet minimum color contrast ratio thresholds' ,
@@ -67,6 +68,7 @@ describe('site-with-errors', () => {
6768 } ,
6869 {
6970 scannerType : 'axe' ,
71+ category : 'best-practice' ,
7072 url : 'http://127.0.0.1:4000/' ,
7173 html : '<html lang="en">' ,
7274 problemShort : 'page should contain a level-one heading' ,
@@ -75,6 +77,7 @@ describe('site-with-errors', () => {
7577 } ,
7678 {
7779 scannerType : 'axe' ,
80+ category : 'wcag' ,
7881 url : 'http://127.0.0.1:4000/jekyll/update/2025/07/30/welcome-to-jekyll.html' ,
7982 html : `<time class="dt-published" datetime="2025-07-30T17:32:33+00:00" itemprop="datePublished">Jul 30, 2025
8083 </time>` ,
@@ -85,6 +88,7 @@ describe('site-with-errors', () => {
8588 } ,
8689 {
8790 scannerType : 'axe' ,
91+ category : 'wcag' ,
8892 url : 'http://127.0.0.1:4000/about/' ,
8993 html : '<a href="https://jekyllrb.com/">jekyllrb.com</a>' ,
9094 problemShort : 'elements must meet minimum color contrast ratio thresholds' ,
@@ -94,6 +98,7 @@ describe('site-with-errors', () => {
9498 } ,
9599 {
96100 scannerType : 'axe' ,
101+ category : 'wcag' ,
97102 url : 'http://127.0.0.1:4000/404.html' ,
98103 html : '<li class="p-name">Accessibility Scanner Demo</li>' ,
99104 problemShort : 'elements must meet minimum color contrast ratio thresholds' ,
@@ -103,6 +108,7 @@ describe('site-with-errors', () => {
103108 } ,
104109 {
105110 scannerType : 'axe' ,
111+ category : 'best-practice' ,
106112 url : 'http://127.0.0.1:4000/404.html' ,
107113 html : '<h1 class="post-title"></h1>' ,
108114 problemShort : 'headings should not be empty' ,
0 commit comments