Skip to content

Commit 652be09

Browse files
committed
fix: the accesibility role has been changed to radio instead of button
1 parent 8c0f44b commit 652be09

4 files changed

Lines changed: 7 additions & 2 deletions

File tree

packages/pluggableWidgets/radio-buttons-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+
- The accessibility role has been changed to radio.
12+
913
## [1.1.0] - 2024-12-3
1014

1115
### Changed

packages/pluggableWidgets/radio-buttons-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "radio-buttons-native",
33
"widgetName": "RadioButtons",
4-
"version": "1.1.0",
4+
"version": "1.2.0",
55
"license": "Apache-2.0",
66
"repository": {
77
"type": "git",

packages/pluggableWidgets/radio-buttons-native/src/components/RadioButton.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export function RadioButton({
3131
]}
3232
onPress={() => onSelect(name)}
3333
testID={`radio-button-${name}`}
34+
accessibilityRole="radio"
3435
>
3536
<View style={[styles.circularButtonStyle, disabled && styles.circularBtnDisabledStyle]}>
3637
{active && <View style={styles.activeButtonStyle} />}

packages/pluggableWidgets/radio-buttons-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="RadioButtons" version="1.1.0" xmlns="http://www.mendix.com/clientModule/1.0/">
3+
<clientModule name="RadioButtons" version="1.2.0" xmlns="http://www.mendix.com/clientModule/1.0/">
44
<widgetFiles>
55
<widgetFile path="RadioButtons.xml" />
66
</widgetFiles>

0 commit comments

Comments
 (0)