react-email@6.5.0
Klavis-AI/klavisreact-email@6.5.0May 27, 2026by github-actions[bot]
AI Summary
Enhances accessibility across email components by adding default attributes such as language direction, alt text fallbacks, and semantic roles.
Key Highlights
- Added `dir` and `lang` attributes to the `Body` component.
- Added empty `alt` fallback for `Img` components.
- Added `role="presentation"` to Markdown table components.
- Added `<title>` from `Preview` for better screen reader support.
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`.