Layered Text and Focus
November 29, 2021 12:00 AM
Hi again,
So here's my 2nd issue with focus!
I use text layering to hide and reveal text in the same rectangle. This means that layer1 first appears, then user clicks on Next arrow to go to next layer or Previous to go back. Sometimes, I have 4 or 5 layers to display when the text is long.
As usual, this method works fine visually. Nonetheless, it causes focus issues for AT users because the focus reads the entire sections every time the user goes to next or previous layers. With multiple text layers, this method is literally "painful", and the title fails the 508 testing.
Is there a Java Script to set the focus to go to the beginning of layer 2 (or 3, 4, 5) when the user clicks the next arrow and vice versa- when they go back?
Thanks a lot for all the help.