equal-access icon indicating copy to clipboard operation
equal-access copied to clipboard

[A11y_Bug]: The accessibility checker reports learn more page is not loading

Open SuriyaKumar2402 opened this issue 3 years ago • 2 comments

Project

a11y checker

Browser

Chrome

Operating System

Windows

Automated testing tool and ruleset

Accessibility Checker latest deployment

Assistive technology

No response

Description

The Accessibility checker reports learn more iframe is broken. The contents are not loading.

I have attached a screenshot of the issue. accessibility learn more

The issue is in the first file link. the link keeps changing for each report generation. the second file link is a properly working link. Screenshot (91)

the issue is in the this.helpMap object in getHelp() function of ace-node.js file. CDN link of ace-node file

I have been facing this issue in windows & Ubuntu OS. please resolve this issue ASAP.

Steps to reproduce

The following issue is reproduced while running the accessibility checker in vs code. I have used a local HTML sample file for input.

gulpFile.js `let gulp = require('gulp'); let path = require('path'); let checker = require('accessibility-checker');

gulp.task('accessibility', function(done){ checker.getCompliance('file://'+path.resolve('index.html'),'outputFile'); done() });`

aceconfig.js

module.exports = { ruleArchive: "latest", policies: ["WCAG_2_1","IBM_Accessibility"], failLevels: ["violation", "potentialviolation"], reportLevels: [ "violation", "potentialviolation", "recommendation", "potentialrecommendation", "manual", "pass", ], outputFormat: ["html","json"], label: [process.env.TRAVIS_BRANCH], outputFolder:"reports", };

And run the accessibility checker in nodejs by creating launch JSON file.

SuriyaKumar2402 avatar Sep 08 '22 12:09 SuriyaKumar2402

From triage meeting: We are still investigating this issue. We will reproduce this and see if we get similar errors.

At a quick glance, we did notice that your GET request has a malformed endpoint. It is missing /doc/en-us/ as part of the URL that it should have hit.

aliunwala avatar Sep 08 '22 20:09 aliunwala

Not sure if it's the same issue, but the jest boilerplate isn't generating the help URL at all. There's certainly something going on related to the help that we need to fix.

tombrunet avatar Oct 13 '22 15:10 tombrunet