Torah Temimah cites Gittin 71a.
“If he does not tell” — excluding a mute, who cannot tell… Testimony is different, for the Merciful One said “from their mouths” — and not from their writing.
The Gemara derives from the language of “yagid” that a mute is outside the verse’s framework, and further that testimony under Torah law must be oral, not written.