By default, the results are based on the text inside the list elements, but, you can change this by setting the attribute you want with the option "attribute". E.g. If you have a list of logo images (for example a list of brands) you can set the option "attribute" to "alt".
It would be very handy to be able to set a specific tag or class name as the "attribute" to search against.