diff --git a/app/assets/javascripts/discourse/app/widgets/post.js b/app/assets/javascripts/discourse/app/widgets/post.js index f1afc5f6144..c2e2bfd48c8 100644 --- a/app/assets/javascripts/discourse/app/widgets/post.js +++ b/app/assets/javascripts/discourse/app/widgets/post.js @@ -247,6 +247,13 @@ function showReplyTab(attrs, siteSettings) { createWidget("post-meta-data", { tagName: "div.topic-meta-data", + buildAttributes() { + return { + role: "heading", + "aria-level": "2", + }; + }, + settings: { displayPosterName: true, },