# FormatForAriaControllerOptions

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

Defined in: [controllers/format-for-aria.ts:13](https://github.com/TanStack/hotkeys/blob/main/packages/lit-hotkeys/src/controllers/format-for-aria.ts#L13)

Options for `FormatForAriaController`.

## Properties

### keyboardLayout?

```ts
optional keyboardLayout?: boolean;
```

Defined in: [controllers/format-for-aria.ts:25](https://github.com/TanStack/hotkeys/blob/main/packages/lit-hotkeys/src/controllers/format-for-aria.ts#L25)

Whether physical bindings follow the user's keyboard layout, so `[KeyQ]`
is `A` on a French AZERTY keyboard. The layout loads from the browser
when the first host connects. Only Chromium browsers report one. Set
`false` to never ask the browser for it. Default: `true`.

***

### platform?

```ts
optional platform?: HotkeyPlatform;
```

Defined in: [controllers/format-for-aria.ts:18](https://github.com/TanStack/hotkeys/blob/main/packages/lit-hotkeys/src/controllers/format-for-aria.ts#L18)

The user's platform, for every value from `format`. Detected when unset.
On a server, set it from the request with `detectPlatform(userAgent)`.
