> For the complete documentation index, see [llms.txt](https://ebay.gitbook.io/oatmeal/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ebay.gitbook.io/oatmeal/keyboard/focus-management.md).

# Focus Management

The act of programmatically moving focus from one element to another.

## Prerequisites

See [Keyboard Prerequisites](/oatmeal/keyboard.md#prerequisites).

## Steps

1. Identify controls that display a new widget, content or scroll the page when activated
2. Activate the control
3. Determine whether keyboard focus needs to move away from the control that was activated

## Creating Issues

Provide enough information to identify which widgets do not move focus accordingly after activation.

### Focus Management

* **Description**: Focus Management
* **Priority**: P2
* **Label or Tag**: #a11y211

## Knowledge

Widgets that should move keyboard focus are:

* Dialog Button (a button that opens a dialog)
* Menu Button (a button that opens a menu or fake-menu)
* Skip to Link (a link that scrolls the page)

## About

Author(s): Ian McBurnie & Luis Garcia

Last Updated: 2020 December 18th
