# formatForAria

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

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

Defined in: [formatForAria.ts:12](https://github.com/TanStack/hotkeys/blob/main/packages/angular-hotkeys/src/formatForAria.ts#L12)

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

## Deprecated

Use `injectFormatForAria()` in an injection context, such as a
component's field initializer. It returns this function with the provider's
platform and the user's keyboard layout filled in. Outside an injection
context, keep calling this function and pass `platform` yourself.
