I am confused with the following passage:
Dominants are associated with a strong urge to resolve to their next chord in the circle of fifths. This particular sequence, E7 A7 Dm (or V7/V-V7-i) is a very common cadence that your ears likely favor before the much less resolve prone sequence of Em7 Am7 Dm.
From that it seems that E7 and A7 are both V chords? I don't understand how that's possible? Surely the E7 is a II chord?
Am I confused because the passage is wrong, or because I am missing some knowledge?