SSAgov / ANDI

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

The lang property in the langAttributes-button in sANDI could be found by using the .attr() function instead of the .prop() function #208

Closed ollie-iterators closed 1 year ago

ollie-iterators commented 1 year ago

The lang property in the langAttributes-button in sANDI could be found by using the .attr() function instead of the .prop() function. This would make it more simillar to the roleAttributes function and could make it easier to condense the two functions into one function that is referenced twice in the module.

JohnCotterSSA commented 1 year ago

Thanks for analyzing the code. A reusable function to search for different kind of attributes and supply the overlay could be a nice code clean up.