berkeley-dsep-infra / jupyterlab-a11y-checker

Checks a11y issues related to absence of alt-text, unstructured header tags and color contrast issues in JupyterLab cells
BSD 3-Clause "New" or "Revised" License
5 stars 4 forks source link

Transparency checker #1

Closed ranashreyas closed 6 months ago

ranashreyas commented 7 months ago

This adds the full logic of detecting transparency percentage in all images in the jupyterlab notebook, including images written in Markdown and HTML, along with images generated by code in code cells. In the README, there's a specific issue to go over with regards to transparency in code-generated images.

balajialg commented 6 months ago

@ranashreyas Thanks for the PR. If possible, could you please remove the sections of code that are commented out, provide comments to clarify the purpose of each method, and decompose methods like waitForRandomTimeAndGetRandomNumber into separate methods to enhance the readability of the code?