Coder Social home page Coder Social logo

sinedied / a11y-ai Goto Github PK

View Code? Open in Web Editor NEW
38.0 3.0 7.0 243 KB

Experimental tool to automatically detect accessibility issues in web pages and provide suggestions for fixing them

License: MIT License

JavaScript 3.81% TypeScript 96.19%
accessibility ai cli fix openai

a11y-ai's Introduction

$ npx @sinedied/card.

┌────────────────────────────────────────────────────────────┐
│                                                            │
│   Yohan Lasorsa / @sinedied                        【ツ】   │
│                                                            │
│       Work: Senior Cloud Developer Advocate @ Microsoft    │
│     GitHub: https://github.com/sinedied                    │
│    Twitter: https://twitter.com/sinedied                   │
│     Dev.to: https://dev.to/sinedied                        │
│   LinkedIn: https://linkedin.com/in/yohanlasorsa/          │
│                                                            │
│       Card: $ npx @sinedied/card                           │
│                                                            │
└────────────────────────────────────────────────────────────┘

a11y-ai's People

Contributors

crazy4pi314 avatar semantic-release-bot avatar sinedied avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

a11y-ai's Issues

commands error out after fresh install of tool

Attempted to install this on my mac, running latest version of npm.

navigating to a folder and performing the command "a11y scan index.html" in terminal, I receive the following error:

file:///usr/local/lib/node_modules/a11y-ai/lib/cli.js:9
dns.setDefaultResultOrder('ipv4first');
    ^

TypeError: dns.setDefaultResultOrder is not a function
    at file:///usr/local/lib/node_modules/a11y-ai/lib/cli.js:9:5
    at ModuleJob.run (internal/modules/esm/module_job.js:152:23)
    at async Loader.import (internal/modules/esm/loader.js:177:24)
    at async Object.loadESM (internal/process/esm_loader.js:68:5)

Similar errors occur regardless of the command used. I'm at a loss for what to do here, since the installation / usage instructions are rather straight forward in their brevity, which is good. but there's not much in the way to help when encountering errors like these.

"Fix" should not remove scripts

Discussed in #11

Originally posted by scottaohara May 23, 2023
If the intent of this tool is to help create meaningful fixes that could be accepted / merged into code repositories, then the fix command should not be removing scripts it encounters. While many developers would likely notice this and revert these specific changes when they were reviewing the diff of the changes the fix command made, it's an extra step that has the potential to break pages, rather than fix them, if a removal goes unnoticed.

The automated release is failing 🚨

🚨 The automated release from the main branch failed. 🚨

I recommend you give this issue a high priority, so other packages depending on you can benefit from your bug fixes and new features again.

You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can fix this 💪.

Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.

Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the main branch. You can also manually restart the failed CI job that runs semantic-release.

If you are not sure how to resolve this, here are some links that can help you:

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.


Cannot push to the Git repository.

semantic-release cannot push the version tag to the branch main on the remote Git repository with URL https://x-access-token:[secure]@github.com/sinedied/a11y-ai.git.

This can be caused by:


Good luck with your project ✨

Your semantic-release bot 📦🚀

Error while running axe scan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.