Skip to content

feat(alt-text)!: scope alt text to per-collection MIME types#112

Open
jhb-dev wants to merge 3 commits intomainfrom
claude/fix-alt-text-media-types-TtfgJ
Open

feat(alt-text)!: scope alt text to per-collection MIME types#112
jhb-dev wants to merge 3 commits intomainfrom
claude/fix-alt-text-media-types-TtfgJ

Conversation

@jhb-dev
Copy link
Copy Markdown
Contributor

@jhb-dev jhb-dev commented Apr 16, 2026

Treat alt text as image-only by default, matching WCAG convention and
other CMSs. Each collection now accepts a mimeTypes filter; documents
whose MIME type is not tracked no longer render the field, skip
validation, and are excluded from the health widget.

BREAKING CHANGE: Bare collections: ['media'] entries now default to
['image/*'] tracking. Mixed-media collections (e.g. videos alongside
images) are no longer counted as broken in the health widget.

https://claude.ai/code/session_016MH3cT2FtD21y43onPHJM1

claude added 3 commits April 16, 2026 16:14
Treat alt text as image-only by default, matching WCAG convention and
other CMSs. Each collection now accepts a `mimeTypes` filter; documents
whose MIME type is not tracked no longer render the field, skip
validation, and are excluded from the health widget.

BREAKING CHANGE: Bare `collections: ['media']` entries now default to
`['image/*']` tracking. Mixed-media collections (e.g. videos alongside
images) are no longer counted as broken in the health widget.

https://claude.ai/code/session_016MH3cT2FtD21y43onPHJM1
…edia-types-TtfgJ

# Conflicts:
#	alt-text/CHANGELOG.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants