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.
Function: ariaRoleToString()
ariaRoleToString(Defined in: index.d.ts:1192 Lowercase ARIA name for a role — matches the form used in snapshot output and accepted byrole):string
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
Returns
string
