Skip to content

A platform for community discussion. Free, open, simple.

UX: provide a region for various topic actions (#13152)

Sam293877237d78
diff --git a/app/assets/javascripts/discourse/app/components/topic-footer-buttons.js b/app/assets/javascripts/discourse/app/components/topic-footer-buttons.js
index 270f488b6f9..e0167ebf7d8 100644
--- a/app/assets/javascripts/discourse/app/components/topic-footer-buttons.js
+++ b/app/assets/javascripts/discourse/app/components/topic-footer-buttons.js
@@ -6,6 +6,10 @@ import { getTopicFooterButtons } from "discourse/lib/register-topic-footer-butto
export default Component.extend({
elementId: "topic-footer-buttons",
+ attributeBindings: ["role"],
+
+ role: "region",
+
// Allow us to extend it
layoutName: "components/topic-footer-buttons",