That seems fine then? Browsers are consumer consumption devices. And you have different formats good for other things. That's Apple's philosophy for HEIC.
Although I'm not personally a fan of web apps or Electron, the reality is that browsers are not just consumer consumption devices. And my reading of http://crbug.com/1178058 is that the existence of WebP and AVIF is being used as a justification for removing JPEG XL support.
No they are not. They are information delivery devices being co-opted for content consumption