Safari is the only browser that supports Jpeg XL. Firefox does support it if you enable a flag but IIRC from bugzilla their implementation is currently not great.
If a browser feature needs to be enabled with a flag it’s not really supported since an extremely tiny portion of users will be able to use it, and it’s often buggy.