It’s tough for grass roots to penetrate dense, compacted soil but not for dandelions ... and form flowers and seedheads later below the cut. “A common homeowner mistake is to mow too low.” ...
If the grass type has runners, these might fill in, or you can choose plugs or sod over seeding bare spots. The first spots to hit are the holes left after pulling up a dandelion plant and root.