# formatForAria

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

```ts
const formatForAria: typeof coreFormatForAria = coreFormatForAria;
```

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

Formats a hotkey for `aria-keyshortcuts`, without a controller's platform or
the user's keyboard layout.

## Deprecated

Use `FormatForAriaController` in elements. Its `format` is
this function with the controller's platform and the user's keyboard layout
filled in. Outside an element, keep calling this function and pass `platform`
yourself.
