---
title: autoHighlight
framework: tvml
role: article
role_heading: Article
path: tvml/autohighlight
---

# autoHighlight

Specifies that the element should initially be in focus.

## Overview

Overview Use the autoHighlight attribute to denote the element that is initially in focus. Both the containing element and one child element must be set to true. Remove the autoHighlight attribute from your element to disable initial focus. Values for autoHighlight Elements that Use autoHighlight alertTemplate that contains button elements catalogTemplate that contains listItemLockup elements compilationTemplate that contains listItemLockup elements descriptiveAlertTemplate that contains button elements grid that contains lockup elements listTemplate that contains listItemLockup elements paradeTemplate that contains listItemLockup elements row that contains any focusable element segmentBar that contains segmentBarItem elements. shelf that contains lockup elements showcaseTemplate that contains lockup elements note: The shelf and grid elements can only use the autoHighlight attribute when contained within a productBundleTemplate, productTemplate, or stackTemplate.

## See Also

### Valid TVML Attributes

- [binding](tvml/binding.md)
- [layoutDirection](tvml/layoutdirection.md)
- [prototype](tvml/prototype.md)
- [theme](tvml/theme.md)
