This line of argument misses an important point. Nobody is claiming that intelligent, educated people never make spelling or grammatical errors. We all do. The question is whether we should regard those errors as unimportant.
Written language exists to communicate meaning. The responsibility for making meaning clear sits primarily with the writer, not the reader. Spelling, punctuation and grammar are not arbitrary rules dreamt up by pedants; they are tools that help people understand what is being said with the least effort and ambiguity.
The groups you mention provide some of the strongest arguments for trying to write accurately. Someone reading in their second language is often relying heavily on correct spelling and sentence structure to interpret meaning. Likewise, people with dyslexia, other learning difficulties, or processing challenges can find poorly written text significantly harder to decode. Treating accuracy as optional can make communication less accessible, not more.
I also find the distinction between "formal documents" and online writing unconvincing. A social media post, forum comment, or public article may be read by many more people than a report sitting in a filing cabinet. Arguably, the wider the audience, the greater the incentive to make the writing as clear and error-free as reasonably possible.
Of course nobody should be mocked for making an honest mistake. Correcting someone's typo as a substitute for engaging with their argument is tiresome. But there's a difference between ridiculing people for slips and suggesting that spelling and grammar no longer matter. One is unkind; the other is remarkably low aspiration for public communication.
We routinely expect people to proof-read presentations, check figures in spreadsheets, and verify facts before publishing them. Expecting the same basic care with language is not pedantry. It's respect for the audience.