# require-context-role ✅ The `extends: 'recommended'` property in a configuration file enables this rule. ## `<* role><* role />*>` The required context role defines the owning container where this role is allowed. If a role has a required context, authors MUST ensure that an element with the role is contained inside (or owned by) an element with the required context role. For example, an element with `role="listitem"` is only meaningful when contained inside (or owned by) an element with `role="list"`. You may place intermediate elements with `role="presentation"` or `role="none"` to remove their semantic meaning. ## Roles to check Format: role | required context role * columnheader | row * gridcell | row * listitem | group or list * menuitem | group, menu, or menubar * menuitemcheckbox | menu or menubar * menuitemradio | group, menu, or menubar * option | listbox * row | grid, rowgroup, or treegrid * rowgroup | grid * rowheader | row * tab | tablist * treeitem | group or tree ## Examples This rule **allows** the following: ```hbs