@Lady Sure, there are websites like that and pdfs like that.I don't consider those kinds of websites and pdfs to contain text.They are 'documents', but not text.
I think words should have different definitions depending on the context.Sometimes dictionary writers even think this, as they give multiple definitions to some words.
I understand that your definition of text differs from mine, but I would argue that you are simply privileging different things from me in constructing that definition