Overview
The aria-label attribute provides an accessible name for an element. It is useful for selecting elements that may not have other unique identifiers. This guide explains how to use the abbreviation for the aria-label attribute within Element Miner.
How It Works
To select an element based on its aria-label attribute, use the abbreviation AL.
For an element with the attribute aria-label="Profile Menu", the selector in Element Miner would be:
AL(Profile Menu)
Alternatively, you can use the full attribute selector syntax, which also works as expected:
attribute(aria-label="Profile Menu")
Limitations
There are no known limitations when using the AL abbreviation for the aria-label attribute.
Related Info
No related information is available.