Text length is typically measured in characters while file size is measured in bytes.
Let’s imagine a user uploads a UTF-8-encoded text file. Should
maxlength be applied to the file size or to the number of characters in the file? While it’s somewhat obvious for us, in the context of this topic, that it’s about bytes, it may be confusing for authors in general.
A more clear and specific attribute name would rule out such ambiguity.