SSAgov / ANDI

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

tabindex in createOverlay could be given a default value of 0 #159

Closed ollie-iterators closed 1 year ago

ollie-iterators commented 2 years ago

Since in the createOverlay function, if tabindex is not given a value means that it is given a value of 0, it means that you could give tabindex a default value of 0. The parameter is even already at the end of the list of parameters for the function.

JohnCotterSSA commented 1 year ago

Not sure what you mean. The overlay sometimes needs to take on the tabindex value of the element it associates with. That value is passed in as a parameter to the function. If a tabindex is not passed it, the overlay defaults to zero.