misplaced modifier
A modifier positioned so far from what it should describe that it reads as describing the wrong thing.
A misplaced modifier is a word or phrase whose target is present in the sentence but positioned close enough to a different word that the sentence technically parses with a meaning other than what the writer intended.
Examples
She almost drove her kids to school every day (fix: she drove her kids to school almost every day).
See also