"They run on the street."
Translation:Sie rennen auf der Straße.
Yes, this sentence looks at the location (i.e. where the running is taking place), hence dative:
... auf der Straße.
If we were speaking about their direction (where are they running to), we'd use accusative:
... auf die Straße. (Coming from inside or some other place.)