Skip to content

frame-title-require

A <frame> or <iframe> element must have an accessible name.

Level: Warning

  • true: enable rule
  • false: disable rule

The following patterns are not considered rule violations

Section titled “The following patterns are not considered rule violations”
<iframe src="content.html" aria-label="Interactive content"></iframe>
<iframe src="content.html" aria-labelledby="frame-heading"></iframe>
<iframe src="content.html" title="Embedded content"></iframe>
<iframe src="content.html" role="presentation"></iframe>
<frame src="content.html" title="Navigation frame">

The following patterns are considered rule violations

Section titled “The following patterns are considered rule violations”
<iframe src="content.html"></iframe>
<iframe src="content.html" aria-label=""></iframe>
<iframe src="content.html" title=""></iframe>
<frame src="content.html">