> ## Documentation Index
> Fetch the complete documentation index at: https://docs.simular.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# ariaRoleToString

```typescript
ariaRoleToString(role: AriaRole): string
```

Lowercase ARIA name for a role — matches the form used in
snapshot output and accepted by `AccessibilityTree.find()`.

`AriaRole` is exposed to JS as a numeric enum, so the usual
TypeScript reverse-mapping trick (`AriaRole[role]`) does not
work; use this function instead.

## Parameters

<ResponseField name={"role"} type={"AriaRole"} required />

## Returns

`string`
