# ember/template-no-scope-outside-table-headings 💼 This rule is enabled in the 📋 `template-lint-migration` [config](https://github.com/ember-cli/eslint-plugin-ember#-configurations). The scope attribute is used on `` elements to clarify the relationship between a table's header cells and data cells for screen readers. Scope is set to "row" or "col" for header cells that refer to a given row or column. For header cells that reference multiple rows or columns, set the scope attribute to "rowgroup" and "colgroup" and define the range for the rows or columns. This rule disallows the use of the scope attribute on HTML elements other than the `` element. ## Examples This rule **forbids** the following: ```hbs
``` This rule **allows** the following: ```hbs A header cell ``` ## References - [HTML \ scope Attribute](https://www.w3schools.com/tags/att_th_scope.asp) - [scope - eslint-plugin-jsx-a11y](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/scope.md)