Implement GetElementTextHandler.

Please take both text labels and text fields into account. As I know, for text fields, the name attribute doesn't contain text in the input control.