> ## 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

# Function: ariaRoleToString()

> **ariaRoleToString**(`role`): `string`

Defined in: [index.d.ts:1192](https://github.com/simular-ai/simulang-js-internal/blob/d2b85c3277cbb16ce50c0781e1db8ad2c8a5690e/index.d.ts#L1192)

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

### role

[`AriaRole`](../enumerations/AriaRole.mdx)

## Returns

`string`
