The hr element adds extra noise and can be confusing


Rule ID: horizontal-rule

This rule determines <hr/> elements and gives a tip.


    The <hr/> element adds extra noise and can be confusing. For example, VoiceOver reads it as dimmed collapsed on top, horizontal separator, and Windows Narrator reads it as end of line.

    A better option is to replace <hr/> with <div> and use CSS for styling. Alternatively, aria-hidden="true" or role="presentation" can be applied to the <hr/> element.

    The rule passes when there are:

    1. no <hr/> elements or
    2. <hr/> use aria-hidden="true" or role="presentation"


    Accessibility, Best Practices