Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pass url to js to get results #31

Closed
foxpcteam opened this issue Apr 22, 2017 · 1 comment
Closed

pass url to js to get results #31

foxpcteam opened this issue Apr 22, 2017 · 1 comment

Comments

@foxpcteam
Copy link

HI,
the checker check the page where the js file is included. but how we can pass some url to js file and get the results without including the file to each page.

Thanks

@Muhnad
Copy link
Owner

Muhnad commented Apr 22, 2017

Hi @foxpcteam

unfortunately, this option does not exist yet, maybe in the new update will add it.

but you can make this to check all pages:

  • if you have a main script file included in all .html files you can add this lines to main script file to include the a11y.js in all pages.
const a11yScript= document.createElement('script');
a11yScript.src = 'https://cdn.rawgit.com/Muhnad/a11y-checker/master/a11y.js';
document.body.appendChild(a11yScript);

@Muhnad Muhnad closed this as completed Apr 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants