I added a script to main.js that generically manages modals and part of that script involved moving the modal elements inside a div outside of the content-wrapper div. I thought this was a good idea because then I could set the content-wrapper to aria hidden. But its actually a bad idea because it ruins tabbing. When the modal disappears the user's tab position gets reset to the beginning of the page which sucks. So this should be changed
I added a script to
main.js
that generically manages modals and part of that script involved moving the modal elements inside a div outside of the content-wrapper div. I thought this was a good idea because then I could set the content-wrapper to aria hidden. But its actually a bad idea because it ruins tabbing. When the modal disappears the user's tab position gets reset to the beginning of the page which sucks. So this should be changed