# formatForAria

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

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

Defined in: [packages/ember-hotkeys/src/formatForAria.ts:11](https://github.com/TanStack/hotkeys/blob/main/packages/ember-hotkeys/src/formatForAria.ts#L11)

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

## Deprecated

Use `useFormatForAria()` in components. It returns this
function with the scope's platform and the user's keyboard layout filled in.
Outside a component, keep calling this function and pass `platform` yourself.
