@@ -836,6 +836,7 @@ function useGenerateTest(test, projectFilePath) {
836836 } else {
837837 violations.forEach(axeViolation => {
838838 const whereItFailed = axeViolation.nodes.map(node => node.html);
839+ // uncomment the line(s) below to see suggestions on how to fix accessibility issues
839840 // const failureSummary = axeViolation.nodes.map(node => node.failureSummary);
840841
841842 const { description, help, helpUrl } = axeViolation;
@@ -845,7 +846,7 @@ function useGenerateTest(test, projectFilePath) {
845846 '\\nISSUE: ', help,
846847 '\\nMORE INFO: ', helpUrl,
847848 '\\nWHERE IT FAILED: ', whereItFailed,
848- // '\\nhow to fix : ', failureSummary
849+ // '\\nHOW TO FIX : ', failureSummary
849850 );
850851 });
851852 }
@@ -1023,6 +1024,7 @@ function useGenerateTest(test, projectFilePath) {
10231024 const violations = results;
10241025 violations.forEach(axeViolation => {
10251026 const whereItFailed = axeViolation.nodes.map(node => node.html);
1027+ // uncomment the line(s) below to see suggestions on how to fix accessibility issues
10261028 // const failureSummary = axeViolation.nodes.map(node => node.failureSummary);
10271029
10281030 const { description, help, helpUrl } = axeViolation;
@@ -1037,7 +1039,7 @@ function useGenerateTest(test, projectFilePath) {
10371039 helpUrl,
10381040 '\\nWHERE IT FAILED: ',
10391041 whereItFailed
1040- // '\\nhow to fix : ', failureSummary
1042+ // '\\nHOW TO FIX : ', failureSummary
10411043 );
10421044 });
10431045 })
@@ -1048,8 +1050,6 @@ function useGenerateTest(test, projectFilePath) {
10481050 `
10491051 } ;
10501052
1051- //const generatePuppeteerScriptTag = () => {`"node <replaceWithJavascriptTestFileName.js> ${url}"`}
1052-
10531053 switch ( test ) {
10541054 case 'acc' :
10551055 var accTestCase = testState ;
0 commit comments