TinyMCE is really good here:

  • Add label (caption) of the table
  • Set cell type: normal cell or head cell
  • Set the scope of the heading (for row or column)

Reading recommendation

WCAG Success Criterion (SC) 1.3.1: https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships