You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
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)