Skip to content

Node.js based forum software built for the modern web

closes #3429

psychobunnyb3639f3c7161
diff --git a/src/middleware/middleware.js b/src/middleware/middleware.js
index 7aa8d762b7..930431f3c2 100644
--- a/src/middleware/middleware.js
+++ b/src/middleware/middleware.js
@@ -211,6 +211,7 @@ middleware.renderHeader = function(req, res, callback) {
'cache-buster': meta.config['cache-buster'] ? 'v=' + meta.config['cache-buster'] : '',
'brand:logo': meta.config['brand:logo'] || '',
'brand:logo:url': meta.config['brand:logo:url'] || '',
+ 'brand:logo:alt': meta.config['brand:logo:alt'] || '',
'brand:logo:display': meta.config['brand:logo']?'':'hide',
allowRegistration: registrationType === 'normal' || registrationType === 'admin-approval',
searchEnabled: plugins.hasListeners('filter:search.query')
diff --git a/src/views/admin/settings/general.tpl b/src/views/admin/settings/general.tpl
index 9b3c0e73f2..05f2237f78 100644
--- a/src/views/admin/settings/general.tpl
+++ b/src/views/admin/settings/general.tpl
@@ -47,6 +47,10 @@
When the logo is clicked, send users to this address. If left blank, user will be sent to the forum index.
</p>
</div>
+ <div class="form-group">
+ <label for="brand:logo:alt">Alt Text</label>
+ <input id ="brand:logo:alt" type="text" class="form-control" placeholder="Alternative text for accessibility" data-field="brand:logo:alt" />
+ </div>
</div>
</div>