Skip to content

Sa11y 5.0.7

Choose a tag to compare

@adamchaboryk adamchaboryk released this 12 Jun 19:04
a21bdcc

Improvements

  • Enhanced embedded content checks: Added support for the <embed> tag.
  • Implemented Intl.Segmenter to significantly improve the detection of redundant words in alt text (e.g. "image of") for languages that do not use spaces (e.g., Japanese, Chinese). This check now looks for the presence of these redundant words in the first two words of a string, or the last word (e.g. alt="magnifying glass icon"). Thanks @Michael-Nesci!!
  • Enhanced various internal utility functions to be more fault-tolerant against unexpected edge cases.
  • Reintroduced the escapeHTML utility function to support downstream formatting needs.

Bug fixes

  • Configuration crash fix: Resolved an issue causing errors to throw when the MISSING_ALT rule was explicitly disabled. (#164 — Thank you @itmaybejj)