Generic elements (e.g. <div>) with cursor:pointer/onclick have empty ARIA names because their text lives in StaticText children, which get filtered in interactive mode. Fall back to the JS-collected textContent so the text appears on the rendered tree line. Fixes e2e_snapshot_cursor_many_elements CI failure from #855.