Use `textContent` when `innerText` is not available.