Hi, working on an AJAX view with exposed form (not in its own block) and pagination (Full pager) enabled, noticing that when I use a pager item, it successfully displays updated content and does not reload the page as expected, but switches focus to my <body> tag, and when I hit tab, the first element it goes to is the first input element in this form.
I wrote JS to monitor which was clicked, re-set focus to the pager items after ajaxSuccess, etc, and I watch it do this successfully, then another XHR response loads and focus is set on the body.
I tried on another view of my site to rule out anything custom we'd done with the page in question and same behaviour there. I only have the one site, all pages running the same theme etc, so I don't have a good way to test this out to determine if its OOB like I think it is.
Trying to solve this for keyboard users/accessibility purposes, wondering if anyone has found a workaround, or even clues for debugging code I could add to try to determine what's doing this. Thanks!
[link] [comments]
