From 121802d2f9f86c813bf702781d60c9ef63f05b2e Mon Sep 17 00:00:00 2001 From: Mariia Kovsharova Date: Tue, 29 Sep 2026 13:32:24 +0200 Subject: [PATCH 1/2] Fix exports --- src/common/utils/truncateMarkdownDisplay.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/utils/truncateMarkdownDisplay.ts b/src/common/utils/truncateMarkdownDisplay.ts index 2754ee049..50a42835e 100644 --- a/src/common/utils/truncateMarkdownDisplay.ts +++ b/src/common/utils/truncateMarkdownDisplay.ts @@ -4,11 +4,11 @@ import { MarkdownProps } from "../../cmem/markdown/Markdown"; import { reduceToText, ReduceToTextFuncType } from "./reduceToText"; -interface MarkdownWithCutOffProps extends Omit { +export interface MarkdownWithCutOffProps extends Omit { cutOff: NonNullable; } -interface TruncateMarkdownDisplayType { +export interface TruncateMarkdownDisplayType { ( /** * Markdown element with mandatory `cutOff` property. From 58a45f4f81389cc03ab57cd175b9514d24c7bcf6 Mon Sep 17 00:00:00 2001 From: Mariia Kovsharova Date: Wed, 30 Sep 2026 10:32:50 +0200 Subject: [PATCH 2/2] Update aria-attributes for select in FieldItem --- CHANGELOG.md | 2 + src/components/Form/FieldItem.tsx | 27 +++++++ src/components/Form/tests/FieldItem.test.tsx | 84 ++++++++++++++++++++ 3 files changed, 113 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e227a6654..c0451e98c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p - an already set `for` is only kept if it refers to the ID of the input element of the field item - helper text and message are referred by the input element via `aria-describedby` - `input`, `textarea`, `select`, the toggle button of `` is named by the label and its own content via `aria-labelledby`, so the selected value stays part of the accessible name + - the `combobox` target wrapper of not filterable `