Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1015 Bytes

File metadata and controls

33 lines (21 loc) · 1015 Bytes

ember/template-no-aria-hidden-body

💼 This rule is enabled in the 📋 template-lint-migration config.

🔧 This rule is automatically fixable by the --fix CLI option.

The aria-hidden attribute should never be present on the <body> element, as it hides the entire document from assistive technology.

Examples

This rule forbids the following:

<body aria-hidden>
<body aria-hidden="true">

This rule allows the following:

<body>

References