Skip to content

Commit 65a71f1

Browse files
authored
Moo/moo 2223 clear text talkback fix for textfilter (#458)
2 parents b2b6b55 + 9edfbe3 commit 65a71f1

4 files changed

Lines changed: 8 additions & 2 deletions

File tree

packages/pluggableWidgets/gallery-text-filter-native/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
### Fixed
10+
11+
- Fixed VoiceOver/TalkBack not announcing the clear text button and text input value.
12+
913
## [2.0.0] - 2024-12-3
1014

1115
### Changed

packages/pluggableWidgets/gallery-text-filter-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "gallery-text-filter-native",
33
"widgetName": "GalleryTextFilter",
4-
"version": "2.0.0",
4+
"version": "2.0.1",
55
"license": "Apache-2.0",
66
"copyright": "© Mendix Technology BV 2022. All rights reserved.",
77
"repository": {

packages/pluggableWidgets/gallery-text-filter-native/src/components/FilterComponent.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ export default function FilterComponent(props: FilterComponentProps): ReactEleme
9595
/>
9696
{value !== "" ? (
9797
<TouchableOpacity
98+
accessibilityRole="button"
99+
accessibilityLabel="Clear text"
98100
testID={`${props.name}-clear-text-button`}
99101
onPress={onPressClearTextIcon}
100102
style={props.styles?.textInputClearIcon}

packages/pluggableWidgets/gallery-text-filter-native/src/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<package xmlns="http://www.mendix.com/package/1.0/">
3-
<clientModule name="GalleryTextFilter" version="2.0.0" xmlns="http://www.mendix.com/clientModule/1.0/">
3+
<clientModule name="GalleryTextFilter" version="2.0.1" xmlns="http://www.mendix.com/clientModule/1.0/">
44
<widgetFiles>
55
<widgetFile path="GalleryTextFilter.xml" />
66
</widgetFiles>

0 commit comments

Comments
 (0)