aria-practices icon indicating copy to clipboard operation
aria-practices copied to clipboard

Infrastructure: Bump cheerio and change `.text()` usage

Open howard-e opened this issue 3 years ago • 1 comments

  • Update cheerio from v1.0.0-rc.10 to v1.0.0-rc.12
  • Based on breaking changes introduced in v1.0.0-rc.11, changed instances of .text() usage to .prop('innerText') to preserve the current behavior.

Supersedes #2397.


WAI Preview Link

howard-e avatar Jul 07 '22 16:07 howard-e

Also worth noting that the current uses of .text() in the repo remain unaffected due to how it is being used, but it may be safer to make the change now.

howard-e avatar Jul 07 '22 16:07 howard-e