leuchtfeuer/alt-text-checker 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

leuchtfeuer/alt-text-checker

最新稳定版本:v1.0.2

Composer 安装命令:

composer require leuchtfeuer/alt-text-checker

包简介

TYPO3 extension that adds a warning overlay icon in the File List module for files missing alternative text, and adds an Alternative text column to file reference tables in the backend.

README 文档

README

TYPO3 extension that adds a warning overlay icon to files in the File List module when the file is missing alternative text, and adds an "Alternative text" column to the file reference tables in the backend.

Requirements

  • TYPO3 13.4+

Installation

composer require leuchtfeuer/alt-text-checker

After installation, clear the TYPO3 cache. No further configuration is required — the extension works out of the box.

What it does

Warning icon in the File List

The extension hooks into TYPO3's icon rendering via the PSR-14 ModifyIconForResourcePropertiesEvent. It adds an overlay-warning icon to any file in the File List module when:

  • the file itself has no alternative text set in sys_file_metadata, or
  • any of its file references has no alternative text set in sys_file_reference

This gives editors a quick visual cue to identify images that need attention before publishing.

Warning icon in File List

"Alternative text" column in reference tables

The extension overrides the backend ElementInformation template to add an Alternative text column to the "References to this item" table. The column shows:

Value Meaning
Yes All file references for this relation have alternative text set
No At least one file reference for this relation is missing alternative text

The column is visible when viewing the info panel of any file in the backend (click the info icon next to a file in the File List).

References table with Alternative text column

How to use

  1. Open the File module in the TYPO3 backend.
  2. Navigate to the folder containing your images.
  3. Any image with a yellow warning overlay icon is missing alternative text — either at the file level or in one of its references.
  4. Click the info icon (ℹ) next to a file to open the element information panel.
  5. Scroll to the References section. The Alternative text column shows Yes or No for each relation.
  6. To fix a missing alt text:
    • At file level: Edit the file metadata and fill in the Alternative Text field (sys_file_metadata.alternative).
    • At reference level: Edit the content element or record that references the file and fill in the Alternative Text field on the image relation.

Once all missing alt texts are filled in and the cache is cleared, the warning icon disappears.

Localization

The extension ships with English and German translations. To add your own language, create a translation file.

License

GPL-2.0-or-later

统计信息

  • 总下载量: 7
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 8
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: HTML

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2026-03-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固