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

adopt pixi as the development system #110

Open
wants to merge 63 commits into
base: main
Choose a base branch
from

Conversation

tonyfast
Copy link
Contributor

nbconvert-a11y is pretty darn complex in its goals, heck any digital accessibility is ambitious. we need to use tools from python, node, and java. we need to test on windows, mac, and linux. we need to test on screen readers. we need to deploy docs. accessibility testing is complex and conda/mamba/pixi is the right direction for managing those systems.

these changes were heavily modified from https://github.com/deathbeds/jupyterlite-pyodide-lock/blob/main/pixi.toml

tonyfast and others added 30 commits November 23, 2023 20:04
* remove old meeting notes and resources
* remove some doit doit tasks to delete files
* rm user tests
* drop notebooks for config
* mv test environment out of root
* update pr message ci to vary on forks
…chaotic. (#4)

* rm old semantic form entry point
* shuffle a11y tempalte files into components
* rm exporters script
* rename the ex[porter script to something more appropriate
* remove errant selectors script
* move where the static components are copied from
* more clean up to static contents in template folders
* change test template configuration
* hide missing snippet for a docs rewrite
* separate toc component

* remove errant character

* move accessible table to the body_loop block

* move more macros to the base template

* drop a lot of code in favor of nbconvert
* refactor css and settings into tigher components

* fail workflow on failing tests. run docs and build sooner

* change default font size

* fix input component failure

* ensure default selection in dropdown

* use html to hide cell content

* make the wcag level configurable

* python parts to configuration

* updates style and js

* fix settings and recalling settings

* add a placeholder button for toggling aria live settings`

* consistent use of activity log and aria live

* close button to audit dialog
* add multiselect component and improve auditting
* fix width css on zooming
* fix pr msg
* shuffle macros from base to core and add section template that only provides landmark navigation
* add context to components
* add new section layout to published artifacts
* add hidden parameters to cell components
* align style template with section and style
* add section tempalte to the tests
* export a snapshot of the accessibility tree for aaa templates
* add an ordered list template
* create a component file for cells and remove with context that has been nagging me in templates
* add trusted tester and more complete accessibility tests
* clean up axe fixture
* update new tests to use updated axe api
* add a full accessibility test and measure expected failures.
* allow dialogs to be expanded inline for an alternative settings experiences.
* reverse the order the dialogs are opened so focus makes more sense
* keep focus on the details trigger
* move buttons below expand creating a more clarifying visual order even in reverse tab order
* rm section tag nesting
* fix broken theme changer
* use a valid media query
* fix color theme bugs and add tests
* test light color themes
* rm old tests from nbconvert html5
* force black background for dark theme tests
* clean up default a11y settings for release and add new entry points
* update configuration files
* update the readme for the new repo
* update color theme confirugation
* add some help to python
* integrate sa11y into the example
* ignore accessibility checking on the accessibility checker
* make sa11y a configurable parameter in the exporter
* add sa11y to the test configuration
* swap out old invocation with conda based invocation
* rm vnu-jar from node install
* warm up the vnu-validator cache before remove existing node impl
* swap out old invocation with conda based invocation
* rm vnu-jar from node install
* split shell cmd
* normalize test env
* normalize mamba cache
* whitepace, try env cache
* add vnu server fixtures
* add vnu server fixtures
* replace long sleep with more retries
* fix env var names

---------

Co-authored-by: tonyfast <tony.fast@gmail.com>
* being creating a template tag of cells to facilitate uploading content
* add a table element to template so beautiful soup doesnt sanitize it.
* add flags for visibility upload components
* update configuration to not default to template tags
* use star syntax for exception grou-ps
* change unittest discovery
* clean up how xfailing works in third party using compound exceptions
* use a live server to test the exported documents
* add pytest flask to the deps
* clean up test baseline
* add notebook fixture to generate from a config file
* use server to test settings
* test pygments accessibility themes with live server
* add a quick test for flask dev tools to demonstrate generality of this approach.
* clean up old fixtures and imports in third party tests
* add the bad route to the live server
* add vnu tests using a url
* formalize validation errors for the a11y min template
* update discovery
* fix axeviolation bug
* create  an entry point for the vnu validator
* xfail w3c with the new fixtures
* reorder the prompt representation so that it is configurable with css
* use label on textarea and fieldset on outputs
* aria labelledby soure area.

* make the prompts configurable from the nbconvert

* move source label to the execution count column

* suppress markdown prompts with css

* mkae the prompt properties configurable

* hide execution count when none
* fix css for section template

* adjust css for lsit template

* add flex layout for cells to be consistent across all templates

* test for the section layout

* include because it is necessary for the aria labels

* add lines of code to satisfy an aria description

* include the list layout in the tests

* add list and section variants to the axe tests

* flex section layout

* fix layout selector in the table template

* adjust toc selector

* add footer to base template

* style wcag markdown priorties

* unset default border spacing on table

* visually hide number of outputs announcement
* start adding semantic reprs for python object

* styling and dataframe fixes

* use nbconvert markdown to get image embedding

* add numpy types

* add ability to toggle reprs

* change name for hidden anchor links

* add focus on visually hidden output

* fix settings impl

* priority aa style for pygments line height

* use esm for sa11y

* rm errant variable

* sa11y toggle

* add the execution state the cell

* introduce kernel information to the notebook summary

* update sa11y reps
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

Successfully merging this pull request may close these issues.

None yet

2 participants