VoiceOver direct interaction on web game?

App Development and Programming

Is there anything like UIAccessibilityTraitAllowsDirectInteraction for web pages?

I'm trying to add VoiceOver support to a web game. The game is a rhythm game where you have to tap different corners of the screen to the beat of a song, so I need access to the touch events as the player taps the screen. Unfortunately VoiceOver intercepts all the events.

If this was a native iOS app, I would use UIAccessibilityTraitAllowsDirectInteraction to enable direct interaction, but I can't find how to do that from HTML or JavaScript. Is this possible?

Does anyone know of any examples of web pages that allow direct interaction with VoiceOver running? Maybe other action games, or piano keyboards, or maps?