From 3fb3e3560ee0bf0b19b258eb36b7a62d7a637d29 Mon Sep 17 00:00:00 2001 From: Kris Date: Thu, 31 Oct 2024 12:42:55 -0400 Subject: [PATCH] REVERT: "A11Y: topic list links should not be headings (#27700)" (#29520) This reverts commit 72a53894592cf07bb206a949f703193a486b654c. --- .../discourse/app/components/topic-list/topic-link.gjs | 2 ++ app/assets/javascripts/discourse/app/helpers/topic-link.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/app/assets/javascripts/discourse/app/components/topic-list/topic-link.gjs b/app/assets/javascripts/discourse/app/components/topic-list/topic-link.gjs index 88163921a87..2033c31d806 100644 --- a/app/assets/javascripts/discourse/app/components/topic-list/topic-link.gjs +++ b/app/assets/javascripts/discourse/app/components/topic-list/topic-link.gjs @@ -13,6 +13,8 @@ export default class TopicLink extends Component { {{htmlSafe @topic.fancyTitle}} diff --git a/app/assets/javascripts/discourse/app/helpers/topic-link.js b/app/assets/javascripts/discourse/app/helpers/topic-link.js index 2e8acc485a2..8e545ba9cc0 100644 --- a/app/assets/javascripts/discourse/app/helpers/topic-link.js +++ b/app/assets/javascripts/discourse/app/helpers/topic-link.js @@ -17,6 +17,8 @@ export default function topicLink(topic, args = {}) { return htmlSafe( `${title}` );