applying modern standards / morals to a past era

Presentism seems to be what you're looking for.

Definition here.