That's weird, that's the controller I use when i make my games in Unity, and it works fine with other projects, might just be a webGL thing... (The controller is an XBOX ONE controller btw).
That is then indeed really weird. I only have tested it with PS5 but in unity it was setup for general controller using the new input system. So yeah must be web build problem.