@@ -48,21 +48,6 @@ const testCases: AxeTestCase[] = [
4848 { format : 'html' , outputMode : 'json' , url : '/html/axe-json.html' ,
4949 expectedViolation : 'color-contrast' } ,
5050
51- // RevealJS — axe-check.js loads as standalone module (#13781).
52- // RevealJS CSS transforms prevent axe-core from computing color contrast,
53- // so we check for link-name (slide-menu-button has unlabeled <a>).
54- { format : 'revealjs' , outputMode : 'document' , url : '/revealjs/axe-accessibility.html' ,
55- expectedViolation : 'link-name' } ,
56- { format : 'revealjs' , outputMode : 'console' , url : '/revealjs/axe-console.html' ,
57- expectedViolation : 'link-name' } ,
58- { format : 'revealjs' , outputMode : 'json' , url : '/revealjs/axe-json.html' ,
59- expectedViolation : 'link-name' } ,
60-
61- // RevealJS dark theme — verifies CSS custom property bridge for theming.
62- // Report should use --r-background-color/#191919, not the Sass fallback #fff.
63- { format : 'revealjs-dark' , outputMode : 'document' , url : '/revealjs/axe-accessibility-dark.html' ,
64- expectedViolation : 'link-name' } ,
65-
6651 // Dashboard — axe-check.js loads as standalone module, falls back to document.body (#13781)
6752 { format : 'dashboard' , outputMode : 'document' , url : '/dashboard/axe-accessibility.html' ,
6853 expectedViolation : 'color-contrast' } ,
@@ -84,7 +69,6 @@ const testCases: AxeTestCase[] = [
8469// Document reporter shows the full description; console reporter shows a shorter form.
8570const violationText : Record < string , { document : string ; console : string } > = {
8671 'color-contrast' : { document : 'color contrast' , console : 'contrast' } ,
87- 'link-name' : { document : 'discernible text' , console : 'discernible text' } ,
8872 'image-alt' : { document : 'alternative text' , console : 'alternative text' } ,
8973} ;
9074
0 commit comments