When the website pops up a modal but pressing 'esc' doesn't close it
Taking this moment to point out that pressing 'esc' on a modal in firefox/waterfox will close it visually, but NVDA still maintains focus on the modal contents until you tab out and back into the browser window. It happens with tons of modals, especially the social sign-on ones, so I figure either the same component is being reused and it just doesn't play nice with NVDA, or there's some weird interaction between Gecko and NVDA under certain circumstances... or maybe it actually isn't disappearing visually and does disappear when I tab out and back in for some reason
#firefox #waterfox #nvda #nvaccess #screenReader #blind #a11y #accessibility
@PepperTheVixen Is that this issue: https://github.com/nvaccess/nvda/issues/16245 - If so, it would definitely be worth a comment on that issue, as it will prompt those looking at it to have another look.
First text node is read after closing a modal which uses <dialog> HTML element · Issue #16245 · nvaccess/nvda

Steps to reproduce: With NVDA running, open URL : NVDA-Dialog showModal() Example Navigate to the button that opens the dialog which uses the showModal() method of the HTMLDialogElement Press Enter...

GitHub
@NVAccess That's not my issue exactly, however it sounds like there could be some relation? They're both related to modals
@PepperTheVixen Possibly. I'll loop in @jcsteh who might be able to shed some light on either issue?
@NVAccess @PepperTheVixen I don't think it's that referenced GitHub issue. Sounds like focus is going to limbo after escape is pressed. I haven't seen this myself, so I need a specific website and exact steps to reproduce in order to investigate this.
@NVAccess @PepperTheVixen It'd also be helpful to know what NVDA reports when you press NVDA+tab in this situation.
@jcsteh @NVAccess I can do some testing and potentially file an issue on it. What kind of info would be most useful besides what you've listed so far?
@PepperTheVixen @NVAccess What I've listed so far is a good start. I may have more questions once I investigate. Also, I suspect this isn't an NVDA bug, so it'd be better to file a bug against Firefox. You can do that at bugzilla.mozilla.org, though I'm also happy for you to just provide the info here on Mastodon.
@jcsteh @NVAccess I hadn't considered it might be entirely a Firefox thing. I usually run Waterfox. I'll have to fire up ff upstream and other forks and see if the behavior changes. Browsers/web dev stuff is largely uncharted territory for me beyond the basics
@PepperTheVixen @NVAccess i can't help you if it's Waterfox specific. It probably isn't though.
@PepperTheVixen Next level (looking at you, FoundryVTT): Pressing esc closes _everything_, and is the only shortcut they refuse to let you customize.