diff --git a/public/language/en-GB/topic.json b/public/language/en-GB/topic.json index d7321707c2..78686a38cb 100644 --- a/public/language/en-GB/topic.json +++ b/public/language/en-GB/topic.json @@ -38,6 +38,7 @@ "pinned": "Pinned", "pinned-with-expiry": "Pinned until %1", "scheduled": "Scheduled", + "deleted": "Deleted", "moved": "Moved", "moved-from": "Moved from %1", "copy-code": "Copy Code", diff --git a/public/src/modules/helpers.common.js b/public/src/modules/helpers.common.js index ab61734efa..61b314f4cd 100644 --- a/public/src/modules/helpers.common.js +++ b/public/src/modules/helpers.common.js @@ -301,6 +301,7 @@ module.exports = function (utils, Benchpress, relative_path) { ['title', userObj.username], ['data-uid', userObj.uid], ['loading', 'lazy'], + ['aria-label', `User avatar for ${userObj.username}`], ]); const styles = [`--avatar-size: ${size};`]; const attr2String = attributes => Array.from(attributes).reduce((output, [prop, value]) => { diff --git a/src/categories/topics.js b/src/categories/topics.js index 64248890c0..67695ec4c0 100644 --- a/src/categories/topics.js +++ b/src/categories/topics.js @@ -167,6 +167,7 @@ module.exports = function (Categories) { topic.slug = topic.tid; topic.teaser = null; topic.noAnchor = true; + topic.unread = false; topic.tags = []; } });