From cec3f8f99cd28c45fd9a8e7a34defb9df34d8ebc Mon Sep 17 00:00:00 2001 From: John Coburn Date: Fri, 20 Dec 2024 08:26:28 -0600 Subject: [PATCH 1/2] change MenuSection heading to 'h3' by default --- lib/MenuSection/MenuSection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MenuSection/MenuSection.js b/lib/MenuSection/MenuSection.js index 922167e3a..afb66662d 100644 --- a/lib/MenuSection/MenuSection.js +++ b/lib/MenuSection/MenuSection.js @@ -9,7 +9,7 @@ import uniqueId from 'lodash/uniqueId'; import css from './MenuSection.css'; import Headline from '../Headline'; -const MenuSection = ({ className, children, id, label, labelTag = 'h1', ...rest }) => { +const MenuSection = ({ className, children, id, label, labelTag = 'h3', ...rest }) => { const sectionId = id || uniqueId('menu-section-'); return (
Date: Fri, 20 Dec 2024 08:27:56 -0600 Subject: [PATCH 2/2] log changes --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9fe823027..ddc280eb2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ * Wrap ``'s render output in `` to facilitate ease with overlay components. Refs STCOM-1384. * Clear filter value after an action chosen from `MultiSelection` menu. Refs STCOM-1385. * ExportCSV - fix usage within ``s by rendering the download link to the `div#OverlayContainer`. Refs STCOM-1387. +* `` should default its heading/label tag to `H3` instead of `H1`. Refs STCOM-1392. ## [12.2.0](https://github.com/folio-org/stripes-components/tree/v12.2.0) (2024-10-11) [Full Changelog](https://github.com/folio-org/stripes-components/compare/v12.1.0...v12.2.0)