If you scroll down on the What’s new page for Firefox 136, below Web Platform, it says: “Firefox now supports by default the text replacement feature in an input field on macOS. Web content can enable/disable this using the HTML autocorrect attribute.”