It's a pretty stylish and parsimonious file extension even if long file extensions are well-supported (and they are), but I think *.jpegxl should also be recognized. Have a feeling it will be de facto recognized eventually, if the format itself gets traction.
Well, at least in the tiny part of the IT world I get to control, I always try to validate based on both the three letter extension and any common or sensible expansion of that. So ".jpg" or ".jpeg", ".jxl" or ".jpegxl" etc. etc. (And in most cases, I actually try to parse the binary itself, because you can't trust the extension much anyway.)
"I thought we were free to choose our filename extensions to our liking?"
"Well, three characters is the bare minimum. If you feel that three characters is enough, then okay. But some people choose to have longer filename extensions, and we encourage that, okay? You do want to express yourself, don't you?"
I actually think it referencing JPEG is smart as it's immediately recognizable even by regular users as "image" and positions the format as a successor.