jupyter / accessibility

A repository for ongoing work around making Jupyter's software accessible and inclusive
https://jupyter-accessibility.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
66 stars 33 forks source link

Axe #74

Closed gabalafou closed 2 years ago

gabalafou commented 2 years ago

@tonyfast when you get a chance could you try checking out and running this PR on your local machine?

I believe that the only prerequisites (beyond basic OS / POSIX stuff) are:

(Neither Python nor NodeJS are in that list because I think you get Python when you create a conda environment or when you install nox into an environment, and I guess NodeJS comes along with yarn or playwright? I'm not quite sure. All I know is that when testing this in an isolated Docker environment, I did not have to explicitly install them and I don't think the image I tested with came bundled with Python or Node.)

So if you have the above on your system, I believe you should be able to:

cd tests/retrolab
nox -s test

and then it should launch your browser and you should be able to see the failing tests and when you click into a test, you should be able to download the JSON containing the axe failures for that test.

gabalafou commented 2 years ago

Superseded by https://github.com/jupyter/accessibility/pull/83 (probably. can always reopen this PR if needed)