Role-based tests often align with accessible markup, helping tests catch issues that affect real users.