diff --git a/README.md b/README.md index 406ed89301..0e7c5f5c52 100644 --- a/README.md +++ b/README.md @@ -264,6 +264,7 @@ To disable a rule for an entire `.gjs`/`.gts` file, use a regular ESLint file-le | [template-no-aria-hidden-body](docs/rules/template-no-aria-hidden-body.md) | disallow aria-hidden on body element | 📋 | 🔧 | | | [template-no-aria-unsupported-elements](docs/rules/template-no-aria-unsupported-elements.md) | disallow ARIA roles, states, and properties on elements that do not support them | 📋 | | | | [template-no-autofocus-attribute](docs/rules/template-no-autofocus-attribute.md) | disallow autofocus attribute | 📋 | 🔧 | | +| [template-no-autoplay](docs/rules/template-no-autoplay.md) | disallow autoplay attribute on audio and video elements | | | | | [template-no-duplicate-landmark-elements](docs/rules/template-no-duplicate-landmark-elements.md) | disallow duplicate landmark elements without unique labels | 📋 | | | | [template-no-empty-headings](docs/rules/template-no-empty-headings.md) | disallow empty heading elements | 📋 | | | | [template-no-heading-inside-button](docs/rules/template-no-heading-inside-button.md) | disallow heading elements inside button elements | 📋 | | | diff --git a/docs/rules/template-no-autoplay.md b/docs/rules/template-no-autoplay.md new file mode 100644 index 0000000000..dff0cbd271 --- /dev/null +++ b/docs/rules/template-no-autoplay.md @@ -0,0 +1,81 @@ +# ember/template-no-autoplay + + + +This rule disallows the `autoplay` attribute on `