SDL accessibility events: should SDL synthesize focus changes, or should the app map them?
Context I'm building an SDL2-based UI layer that must work with screen readers on Windows, macOS, and X11. SDL_PollEvent gives me raw input and window events, but no accessibility metadata, so I currently translate SDL_WINDOWEVENT_FOCUS_GAINED and my own widget focus model into platform accessibility API calls (UI Automation, NSAccessibility, AT-SPI) myself.