Generally this may be called typo but when particularly two letters of a word are mistakenly swapped, what is this error called? Some examples:
teh > the
fromat > format
comptuer > computer
English Language & Usage Stack Exchange is a question and answer site for linguists, etymologists, and serious English language enthusiasts. It only takes a minute to sign up.Sign up to join this community
That is called a transposition error, and is very common for reasonably speedy touch-typists. The text editor Emacs even has a basic control chord (Ctrl+T) to swap (transpose) the preceding two characters.
From Wikipedia's transcription error page:
Transposition errors are commonly mistaken for transcription errors, but they should not be confused. As the name suggest, transposition errors occur when characters have “transposed” — that is, they have switched places. Transposition errors are almost always human in origin. The most common way for characters to be transposed is when a user is touch typing at a speed that makes them input one character, before the other. This may be caused by their brain being one step ahead of their body.
Examples of Transposition Error
Input : Gergory Instead of : Gregory
Input : 23rd of Auguts Instead of : 23rd of August
Input : Johsua Instead of : Joshua