---
title: "Auto Add Alt And Title | Alt Text Plugin for Joomla and WordPress"
description: "Adds missing alt and title attributes to images on Joomla and WordPress, written into the HTML on the server. Better accessibility and image SEO, and free."
url: "https://www.yoozecase.com/?item_id=5"
date: "2026-11-22T18:25:42+00:00"
language: "en-GB"
---

#  Auto Add Alt And Title

Give every image something to say.

**Latest Version**
1.12.0
**Requires**
Joomla 5+, WordPress 6.5+, PHP 8.1 or newer
**Release date**
25 October 2026
**Made for**
Joomla, WordPress
**License**
GPL-2.0-or-later
**Price**
Free

 [ 🛒 Get it for Joomla 👍 ](https://yoozecase.lemonsqueezy.com/checkout/buy/7a1b8776-9e27-46a9-b4be-9cd2a06daa10)

 [ 🛒 Get it for WordPress👍 ](https://yoozecase.lemonsqueezy.com/checkout/buy/f5898c5f-4ed1-4c25-971a-dd1b7483a577)

 [ Demo page ](https://www.yoozecase.com/auto-add-alt-and-title-demo)

Fills in every missing alt text on Joomla and WordPress. Titles only when they add something.

##  What's new in version 1.12.0

- **New:** "Fixed alt text" on the Alt and title tab: one rule per line, such as logo.svg = Acme or \*/partners/\*.png = Partner: {name}, for images whose file name cannot say what they show. A rule with nothing after the equals sign gives a deliberate empty alt, for icons.
- **New:** "Image with a caption": choose between an alt that repeats the caption, as before, and an empty alt, so a screen reader reads the caption once, as WCAG advises.
- **New:** "File names only in their own language", off by default: on a site in more than one language, an image on a page in another language no longer gets its alt from a file name in your main language.
- **New:** Other extensions can change the alt through the event onYcAatImageAlt.

 ![Auto Add Alt And Title 1](https://www.yoozecase.com/files/auto-add-alt-and-title_1.png)

 [](#)

 [](#)

---

##  Description

Every image on your Joomla or WordPress site gets a sensible alt text automatically, written into the HTML on the server so crawlers and screen readers see it without running any JavaScript. An alt text that someone wrote is never changed. The plugin takes the alt from another copy of the same image, a figure caption, the file name or the link around the image, and leaves it empty when none of these says anything useful. A deliberately empty alt on a decorative image stays empty. Titles appear only when a caption or link text says something the alt does not.

A check of up to ten pages shows what the plugin filled in and which images still need an alt from you. In Joomla you can also write the alt into the image fields of your articles, so editors see it and can improve it, with a preview first and an Undo. In WordPress you can fill in the alt text of your whole media library in one run, from the settings page or with WP-CLI, and that alt then shows up in your existing posts. On WordPress 7 the AI service you set up in WordPress can describe images whose caption and title say nothing. That is off by default. Fixed alt text gives your logo, partner logos and icons the right alt with one rule each. On a site in more than one language, the plugin can keep file names out of pages in another language.

##  Feature request

 ### What is the next feature for this plugin?

Submit your idea or vote on existing ones.

  #### Top voted

   Website (leave empty)

'; } html += ''; if (oc.title) { html += '##### ' + escapeHtml(oc.title) + '

'; } if (oc.text) { html += '' + escapeHtml(oc.text).replace(/\\n/g, '
') + '

'; } html += '

'; } // Auto winner(s) - top N from the already vote-sorted features if (mode === 'auto_winner' || mode === 'both') { var n = oc.winnerCount | 0; if (n '; for (var i = 0; i ' + (w.image_url ? '![](https://www.yoozecase.com/'%20+%20escapeHtml(w.image_url)%20+%20')

' : '') + '' + (i + 1) + '' + '' + escapeHtml(w.title) + '' + '' + getIcon(this.cfg.voteIcon) + ' ' + (w.votes | 0) + '' + ''; } html += ''; } } if (html === '') { this.elOutcome.hidden = true; return; } this.elOutcome.innerHTML = html; this.elOutcome.hidden = false; }; /** * Roadmap view (v3.2.0): renders the items as status columns, in the * canonical status order from cfg.statuses. Each column is an 12. inside \* the existing .yc-fb-list , holding its own inner  of items - \* this keeps the delegated click/change handlers on elList working \* unchanged. Unknown statuses fall back into the "open" column so no item \* can silently disappear. Empty columns are skipped when \* cfg.roadmapHideEmpty is set. \*/ Board.prototype.renderRoadmap = function (items) { var stats = (this.cfg.statuses && this.cfg.statuses.length) ? this.cfg.statuses : \['open', 'planned', 'in\_progress', 'shipped', 'declined'\]; var labels = this.cfg.statusLabels || {}; var groups = {}; var i, st; for (i = 0; i ' + '##### ' + '' + escapeHtml(labels\[sv\] || sv) + '' + arr.length + '' + '

    ' + '' + itemsHtml + '
    ' + '
'; } return html; }; Board.prototype.renderItem = function (f, index) { var disabled = this.cfg.isClosed ? 'disabled' : ''; var voted = f.voted ? ' yc-voted' : ''; var descHtml = f.description ? '' + escapeHtml(f.description).replace(/\\n/g, '
') + '

' : ''; var thumbHtml = f.image_url ? '![](https://www.yoozecase.com/'%20+%20escapeHtml(f.image_url)%20+%20')

' : ''; // Status workflow (v3.0.0): badge for any non-default status. The // roadmap view (v3.2.0) skips the badge - the column already // communicates the status, a badge would be redundant noise. var st = (f.status || 'open'); var labels = this.cfg.statusLabels || {}; var statusBadge = (!this.isRoadmap && st && st !== 'open' && labels[st]) ? '' + escapeHtml(labels\[st\]) + '' : ''; // Design themes (v3.1.0): arena / neon / pixel render extra per-item // furniture - rank number, avatar (image or initials), a "leader" pill // on rank 1, and a "votes" label. Classic/colour themes are untouched. var t = this.cfg.theme || 'light'; var themed = (t === 'arena' || t === 'neon' || t === 'pixel'); var rank = (typeof index === 'number') ? (index + 1) : 0; var rankHtml = '', leaderHtml = '', avatarHtml = '', votesLabel = ''; if (themed) { rankHtml = '' + pad2(rank) + ''; if (rank === 1) { leaderHtml = '' + escapeHtml(this.cfg.leaderLabel || 'Leader') + ''; } if (f.image_url) { avatarHtml = '![](https://www.yoozecase.com/'%20+%20escapeHtml(f.image_url)%20+%20')

'; } else { avatarHtml = '' + escapeHtml(initialsOf(f.title)) + '

'; } votesLabel = '' + escapeHtml(this.cfg.votesLabel || 'votes') + ''; } // Moderation overlay: subtle corner buttons, only when canModerate. // Buttons appear on hover/focus (styled in CSS). Even in customizer // preview we render them when canModerate is true so the moderator // can see what visitors with moderation rights will see. var modHtml = ''; if (this.cfg.canModerate) { var parts = []; var hideTitle = escapeHtml(this.t('hideTitle', 'Hide this feature')); var deleteTitle = escapeHtml(this.t('deleteTitle', 'Delete this feature')); if (this.cfg.allowSoftHide) { parts.push( '' ); } if (this.cfg.allowHardDelete) { parts.push( '' ); } if (parts.length || (this.cfg.statuses && this.cfg.statuses.length)) { var sParts = parts.slice(); if (this.cfg.statuses && this.cfg.statuses.length) { var opts = ''; for (var si = 0; si ' + escapeHtml(sl) + ''; } var setStatus = escapeHtml(this.t('setStatus', 'Set status')); sParts.push( '' ); } modHtml = '' + sParts.join('') + '

'; } } var mediaHtml = themed ? avatarHtml : thumbHtml; return ( '32. ' + leaderHtml + rankHtml + '' + mediaHtml + '' + '##### ' + escapeHtml(f.title) + '

    ' + statusBadge + descHtml + '

    ' + modHtml + '
' ); }; /** * Detects whether a JSON response looks like a CSRF/token rejection. * Two cases: * 1. com_ajax-level rejection (Joomla's auto-token-check on POST): top * level message contains the JINVALID_TOKEN_NOTICE text and HTTP * status is typically 403. * 2. Plugin-level rejection from requireToken(): payload.error === "Invalid token". */ Board.prototype.isTokenError = function (status, raw, payload) { if (status === 403) return true; var hay = ''; try { hay = JSON.stringify(raw || {}) + '|' + JSON.stringify(payload || {}); } catch (e) {} return /invalid (security )?token/i.test(hay); }; /** * Fetch a fresh CSRF token from the server. Updates this.cfg.csrfToken so * the next call (and any future calls in this Board's lifetime) use the * correct one. Cache-bust with a timestamp so no upstream CDN caches the * response. */ Board.prototype.fetchFreshToken = function () { var self = this; var url = this.cfg.ajaxUrl + '&task=token&_=' + Date.now(); return fetch(url, { method: 'GET', credentials: 'same-origin', headers: { 'Accept': 'application/json', 'Cache-Control': 'no-cache' } }) .then(function (r) { return r.json(); }) .then(function (data) { var p = self.unwrapAjax(data); if (p && p.ok === true && typeof p.token === 'string' && p.token.length >= 16) { self.cfg.csrfToken = p.token; return p.token; } throw new Error('No fresh token in response'); }); }; /** * Generic POST-with-token helper. Builds FormData from a plain object, * adds the current token, posts. On 403 / token-error response, fetches a * fresh token and retries exactly once. * * @param {string} task The task name (appended to URL and body) * @param {object} fields Key-value form fields (no token) * @return {Promise} Resolves to the unwrapped payload on success. \* Rejects with Error containing .reason on failure. \*/ Board.prototype.postWithToken = function (task, fields) { var self = this; function attempt(token) { var fd = new FormData(); fd.append('task', task); for (var k in fields) { if (Object.prototype.hasOwnProperty.call(fields, k)) { fd.append(k, fields\[k\]); } } fd.append(token, '1'); return fetch(self.cfg.ajaxUrl + '&task=' + encodeURIComponent(task), { method: 'POST', credentials: 'same-origin', body: fd, headers: { 'Accept': 'application/json' } }).then(function (r) { return r.json().then(function (data) { return { status: r.status, raw: data, payload: self.unwrapAjax(data) }; }); }); } return attempt(this.cfg.csrfToken).then(function (res) { // Success path if (res.payload && res.payload.ok === true) { return res.payload; } // Token rejection? Fetch fresh and retry once. if (self.isTokenError(res.status, res.raw, res.payload)) { return self.fetchFreshToken().then(function (fresh) { return attempt(fresh).then(function (res2) { if (res2.payload && res2.payload.ok === true) { return res2.payload; } var err = new Error( (res2.payload && res2.payload.error) || (res2.raw && res2.raw.message) || self.t('requestFailed', 'Request failed.') ); err.payload = res2.payload || null; throw err; }); }); } // Some other error - surface it var err = new Error( (res.payload && res.payload.error) || (res.raw && res.raw.message) || self.t('requestFailed', 'Request failed.') ); err.payload = res.payload || null; throw err; }); }; Board.prototype.handleSubmit = function () { var self = this; if (isInBuilder()) { this.showStatus(this.t('previewSubmit', 'Preview mode - submissions are disabled in the YOOtheme builder. Try this on the published page.'), 'info'); return; } if (this.cfg.isClosed) { this.showStatus(this.cfg.closedMessage || this.t('votingClosed', 'Voting is closed.'), 'info'); return; } var title = (this.elTitle && this.elTitle.value || '').trim(); var desc = (this.elDesc && this.elDesc.value || '').trim(); // Client-side validation: minimum title length. Server re-validates. var minLen = (this.cfg.minTitleLength | 0) || 2; if (title.length for hide/delete, remember parent + sibling for rollback. var li = btn.closest('li'); var parentEl = li ? li.parentNode : null; var nextEl = li ? li.nextSibling : null; if (li && (action === 'hide' || action === 'delete')) { li.remove(); } btn.disabled = true; var task = action === 'hide' ? 'moderate\_hide' : action === 'delete' ? 'moderate\_delete' : action === 'restore' ? 'moderate\_restore' : ''; if (!task) { btn.disabled = false; return; } this.postWithToken(task, { feature\_id: featureId }) .then(function (payload) { // Success - keep the UI as-is (already removed) and refresh // so vote counts, top box, and hidden-features panel reflect // the new state. self.refresh(); if (self.hiddenOpen) { self.hiddenLoaded = false; // force a refetch self.fetchHiddenFeatures(); } var msg = action === 'delete' ? self.t('deleted', 'Feature deleted.') : action === 'hide' ? self.t('hidden', 'Feature hidden.') : action === 'restore' ? self.t('restored', 'Feature restored.') : self.t('done', 'Done.'); self.showStatus(msg, 'success'); setTimeout(function () { self.hideStatus(); }, 3000); }) .catch(function (err) { // Rollback: re-insert the row if we removed it. if (li && parentEl) { if (nextEl) { parentEl.insertBefore(li, nextEl); } else { parentEl.appendChild(li); } } btn.disabled = false; self.showStatus(err && err.message ? err.message : self.t('modFailed', 'Moderation action failed.'), 'error'); }); }; Board.prototype.handleStatusChange = function (featureId, status, sel) { var self = this; if (!featureId || !status) return; sel.disabled = true; this.postWithToken('moderate\_status', { feature\_id: featureId, status: status }) .then(function () { self.refresh(); var label = (self.cfg.statusLabels && self.cfg.statusLabels\[status\]) ? self.cfg.statusLabels\[status\] : status; self.showStatus(self.tf('statusSet', 'Status: %s', label), 'success'); setTimeout(function () { self.hideStatus(); }, 3000); }) .catch(function (err) { sel.disabled = false; self.showStatus(err && err.message ? err.message : self.t('statusFailed', 'Could not set status.'), 'error'); }); }; /\*\* \* Toggle the hidden-features panel open/closed. First open triggers \* an AJAX fetch; subsequent toggles just hide/show the cached list. \*/ Board.prototype.toggleHiddenPanel = function () { if (!this.elHiddenList || !this.elHiddenLabel) return; var arrow = this.elHiddenToggle && this.elHiddenToggle.querySelector('.yc-fb-hidden-arrow'); if (this.hiddenOpen) { this.hiddenOpen = false; this.elHiddenList.hidden = true; this.elHiddenLabel.textContent = this.t('showHidden', 'Show hidden features'); if (arrow) arrow.classList.remove('yc-open'); return; } this.hiddenOpen = true; this.elHiddenList.hidden = false; this.elHiddenLabel.textContent = this.t('hideHidden', 'Hide hidden features'); if (arrow) arrow.classList.add('yc-open'); if (!this.hiddenLoaded) { this.fetchHiddenFeatures(); } }; /\*\* \* Fetch the hidden-features list via the moderator-only endpoint. \* Re-callable to refresh the list after a restore. \*/ Board.prototype.fetchHiddenFeatures = function () { var self = this; if (!this.elHiddenList) return; this.elHiddenList.innerHTML = '2. ' + escapeHtml(this.t('loading', 'Loading...')) + '
'; var url = this.cfg.ajaxUrl + '&task=moderate\_list\_hidden&board\_id=' + encodeURIComponent(this.cfg.boardId); fetch(url, { credentials: 'same-origin', headers: { 'Accept': 'application/json' } }) .then(function (r) { return r.json(); }) .then(function (data) { var payload = self.unwrapAjax(data); if (!payload || payload.ok !== true) { self.elHiddenList.innerHTML = '4. ' + escapeHtml((payload && payload.error) ? payload.error : self.t('hiddenLoadFailed', 'Failed to load hidden features.')) + '
'; return; } self.hiddenLoaded = true; var features = payload.features || \[\]; if (features.length === 0) { self.elHiddenList.innerHTML = '6. ' + escapeHtml(self.t('noHidden', 'No hidden features.')) + '
'; return; } var html = ''; for (var i = 0; i ' + escapeHtml(f.description).replace(/\\n/g, '
') + '' : ''; var restoreTitle = escapeHtml(self.t('restoreTitle', 'Restore this feature')); html += '9. ' + '' + '##### ' + escapeHtml(f.title) + '

    ' + descHtml + '' + escapeHtml(self.tf('votesMeta', '%s votes', f.votes | 0)) + '' + '

    ' + '' + '
'; } self.elHiddenList.innerHTML = html; }) .catch(function () { self.elHiddenList.innerHTML = '11. ' + escapeHtml(self.t('hiddenNetwork', 'Network error while loading hidden features.')) + '
'; }); }; function initAll(scope) { var roots = (scope || document).querySelectorAll('.yc-fb-root'); for (var i = 0; i ---

##  Changelog

---

 [ v1.12.0 25/10/2026 ](#) Added- "Fixed alt text" on the Alt and title tab: one rule per line, such as

- "Image with a caption": choose between an alt that repeats the caption,
- "File names only in their own language", off by default. On a site in
- Other extensions can change the alt through the event onYcAatImageAlt.

 [ v1.11.0 25/10/2026 ](#) Added- "Check up to ten pages" on the Dashboard tab. The plugin looks at your

- "Alt text in your articles" on the Dashboard tab writes an alt text into
- The browser script now uses the same order as the server: another copy of

 Changed- The engine goes through the page once instead of three times. The result

 [ v1.10.2 25/10/2026 ](#) Changed- Saving the settings now tells you which entries in "Remove these endings",

 Fixed- The diagnosis on the Dashboard tab no longer follows a redirect to another
- After an install or update the warning "The link to the update server

 [ v1.10.1 25/10/2026 ](#) Changed- The help texts of "Generate missing alt attributes" and "Script load

- The alt and title engine is now one file that the Joomla and the WordPress
- If the engine file is missing after an incomplete upload, the plugin does

 [ v1.10.0 25/10/2026 ](#) Added- New setting "Keep a deliberate empty alt", on by default. Joomla writes

- An image with `alt=""` inside a link that has its own text keeps its empty

 Fixed- A tracking pixel or a hidden image (width and height of 2 or less, the
- Images inside `&lt;noscript&gt;` no longer take up the eager and fetchpriority
- A custom element such as `&lt;a-scene&gt;` is no longer read as a link.
- After an update on Joomla 6.1 the settings screen no longer shows the raw

 [ v1.9.8 25/10/2026 ](#) Changed- When the pattern engine gives up on a very large page, that is logged once

- The page path in the debug log is cut off at 200 characters.

 Fixed- A custom element whose name starts with img, such as `&lt;img-zoom&gt;` or
- An alt written directly after another attribute without a space
- The word alt or class inside the value of another attribute
- A figure caption in Japanese, Chinese or another non-Latin script now gives
- An unexpected error inside the plugin leaves the page as it was and is

 [ v1.9.7 12/10/2026 ](#) Changed- The product is called "Auto Add Alt And Title" everywhere, including the

- The diagnosis help text says about fifteen seconds instead of half a

 Fixed- A comment inside a script or style block, or a style block inside a
- An `&lt;img` inside an attribute value of another tag (a Bootstrap tooltip
- A lazy-load placeholder file in src no longer wins from the real image
- An image served by a PHP endpoint (`index.php?p=theme/image&amp;src=...` from
- Date, time and UUID fragments in a file name are dropped. Default names
- Percent-encoded file names are decoded (`caf%C3%A9-terras.jpg` gives
- The client snippet goes before the last `&lt;/body&gt;` instead of the first one,
- Leaving the acronyms, generic words or suffix list empty now switches that
- The install script registers its own log writer, so "update site link

 [ v1.9.6 08/10/2026 ](#) Fixed- The alt text that the server writes into the page now follows the same rule

- Two images with the same placeholder in srcset no longer share an alt. The

 [ v1.9.5 07/10/2026 ](#) Fixed- Images whose address is a `blob:` URL got an alt made of parts of the random

 [ v1.9.4 06/10/2026 ](#) Changed- The diagnosis waits at most 8 seconds per page instead of 15, so an

- Installation stops with a clear message on Joomla older than 5.0, before any
- The update site is called "Auto Add Alt And Title Updates". Existing sites get
- The Joomla and WordPress editions now share one version number. The WordPress

 Fixed- Images that another plugin adds in onAfterRender also get their alt and title.
- With a Content Security Policy that uses a nonce (System - HTTP Headers), the

 Security- The diagnosis bypass needs a signed token. Up to 1.9.3 anyone could add

## Schema

```json
{
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "itemListElement": [
        {
            "@type": "ListItem",
            "position": 1,
            "name": "Home",
            "item": "https://www.yoozecase.com"
        },
        {
            "@type": "ListItem",
            "position": 2,
            "name": "Extensions",
            "item": "https://www.yoozecase.com/extensions"
        },
        {
            "@type": "ListItem",
            "position": 3,
            "name": "Auto Add Alt And Title",
            "item": "https://www.yoozecase.com/"
        }
    ]
}
```
