PH & MA - Paired assignment - Week 3

Is there a reason to prefer 'role' to 'id' in these cases? I'm not clear on the benefits...though 'role seems more verbose in css