Kilotest: Diagnoses of hr misused violation by HTML element 754 on Northwest Natural Gas page

Basics

About the Northwest Natural Gas page

About HTML element 754

About the hr misused issue

Diagnoses

Here is how tools diagnose the hr misused issue for HTML element 754 of the Northwest Natural Gas page.

  1. The <code><hr></code> element adds extra <q>noise</q> and can be confusing. For example VoiceOver reads it as <q>dimmed collapsed on top, horizontal separator</q>, Windows Narrator reads it as <q>end of line</q>. A better option is to replace <code><hr></code> with <code><div></code> and use CSS for styling. Alternatively, <code>aria-hidden='true'</code> or <code>role='presentation'</code> can be applied to the <code><hr></code> element.

    Tool: ASLint (eSSENTIAL Accessibility)

    Rule: horizontal_rule