SSAgov / ANDI

A tool to test web content for accessibility and 508 compliance.
https://www.ssa.gov/accessibility/andi/help/howtouse.html
Other
293 stars 75 forks source link

It should be possible to create a common .cleanup function for the different modules #156

Closed ollie-iterators closed 1 year ago

ollie-iterators commented 1 year ago

I think it would be a good idea to make a common cleanup function for all the modules that accepts a list of strings that represent the various things that should be removed when going to a different module.

JohnCotterSSA commented 1 year ago

Each module needs to implement the cleanup function and it does so in the most efficient way possible. Efficient cleanup is more complex than passing a list of strings, classes, attributes, etc.