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

Code for $("#ANDI508-viewOutline-button") in sANDI.js is simillar to lANDI.viewList_toggle #206

Closed ollie-iterators closed 1 year ago

ollie-iterators commented 1 year ago

Code in $("#ANDI508-viewOutline-button") is simillar to lANDI.viewList_toggle. Basically the only thing that is different is the order of the code because the if condition for "aria-expanded" is set to true rather than false, and the name of the class in the slideUp or slideDown line.

JohnCotterSSA commented 1 year ago

Thanks for this observation.