react-email@6.5.0

labring/FastGPTreact-email@6.5.0May 27, 2026by github-actions[bot]

AI Summary

Adds accessibility defaults to core components to improve screen reader support and semantic HTML structure.

Key Highlights

  • Added `dir` and `lang` attributes to the `Body` component.
  • Added empty `alt` fallback on `Img` components.
  • Added `role="presentation"` to `Markdown` table elements.
  • Added `<title>` generation from `Preview` component.

New Features

  • Accessibility defaults for Body, Img, Markdown, and Preview components

Full Release Notes

### Minor Changes

* 3875d2a: add a `--clients` option to `email dev` and a `COMPATIBILITY_EMAIL_CLIENTS` environment variable to narrow which email clients trigger compatibility warnings. By default the preview still warns for `gmail`, `apple-mail`, `outlook`, and `yahoo`. Teams that only target one or two clients can now skip the noise: `email dev --clients outlook,apple-mail`. The CLI flag wins over the env var; an empty or fully-invalid list falls back to the defaults so warnings can't be silently switched off. Builds on #2797 by @ReemX.

### Patch Changes

* d47825a: Add accessibility defaults to components: `dir`/`lang` on `Body`, an empty `alt` fallback on `Img`, `role="presentation"` on the `Markdown` table, and a `<title>` from `Preview`.