Skip to content

v1.5.0

Choose a tag to compare

@go4cas go4cas released this 15 Jun 12:10
· 8 commits to main since this release

Added

  • decorative option — render the SVG with aria-hidden="true" (and no role/label/title) so assistive tech skips it, for avatars that sit beside their own visible name. Defaults to false (a labelled role="img" image).
  • A native <title> element is now emitted alongside the existing aria-label, giving a hover tooltip and broader screen-reader support.
  • Colorblind-safe palette preset (Okabe–Ito based). Opt in with palette: 'accessible' (or 'colorblind-safe'); it recolors the abstract styles, clothing, and inks while keeping skin and hair natural. Exported as COLORBLIND_SAFE_PALETTE / PALETTE_PRESETS, and resolvePalette now accepts a preset name and is re-exported from the package entry.

The demo also gains an Accessible theme and a favicon.

Full changelog: v1.4.0...v1.5.0