From eb50fef41dfbc47f82d40b6337e1c188a23b3a18 Mon Sep 17 00:00:00 2001 From: Rares Munteanu Date: Wed, 18 Jun 2025 15:08:00 +0200 Subject: [PATCH] [MWPW-175193] Remove programmatic headings from table --- libs/blocks/table/table.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libs/blocks/table/table.js b/libs/blocks/table/table.js index fede5319c2..4785d90957 100644 --- a/libs/blocks/table/table.js +++ b/libs/blocks/table/table.js @@ -311,11 +311,6 @@ function handleSection(sectionParams) { handleTitleText(sectionHeadTitle); sectionHeadTitle.classList.add('section-head-title'); sectionHeadTitle.setAttribute('role', 'rowheader'); - const sectionHeadText = sectionHeadTitle.querySelector('.table-title-text'); - if (sectionHeadText) { - sectionHeadText.setAttribute('role', 'heading'); - sectionHeadText.setAttribute('aria-level', '4'); - } } if (isCollapseTable) {