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.
"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).
How to use
- Open the File module in the TYPO3 backend.
- Navigate to the folder containing your images.
- Any image with a yellow warning overlay icon is missing alternative text — either at the file level or in one of its references.
- Click the info icon (ℹ) next to a file to open the element information panel.
- Scroll to the References section. The Alternative text column shows
YesorNofor each relation. - 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.
- At file level: Edit the file metadata and fill in the Alternative Text field (
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
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2026-03-19

