Skip to content

Commit d796835

Browse files
authored
fix: resolve zoom a11Y for token version display (#748)(#763)
1 parent f810d2f commit d796835

3 files changed

Lines changed: 47 additions & 14 deletions

File tree

MIGRATION.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,26 @@
11
# Migration Guide
22

3+
- [v1.3.0 → v1.3.1](#v130--v131)
34
- [v1.2.0 → v1.3.0](#v120--v130)
45
- [v1.1.x → v1.2.0](#v11x--v120)
56
- [v1.0.0 → v1.1.1](#v100--v111)
67
- [Support](#support)
78

9+
> **Note**: v1.3.1 is a maintenance release with bug fixes and improvements. No migration is required.
10+
11+
## v1.3.0 → v1.3.1
12+
13+
### Overview
14+
15+
This is a maintenance and patch release focusing on bug fixes and accessibility improvements.
16+
17+
### Compatibility
18+
19+
- **Backward Compatibility**: Full (no breaking changes)
20+
- **Migration Required**: No
21+
22+
---
23+
824
## v1.2.0 → v1.3.0
925

1026
### Overview

app/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
### Changed
1010
### Fixed
1111
- [Library] Null check operator used on a null value in all components has isHighContrastEnabled ([#756](https://github.com/Orange-OpenSource/ouds-flutter/issues/756))
12+
- [DemoApp] Layout Overflow on Demo Screen for component version when system font size is increased for accessibility. ([#748](https://github.com/Orange-OpenSource/ouds-flutter/issues/748))
1213

1314
## [1.3.0](https://github.com/Orange-OpenSource/ouds-flutter/compare/1.2.0...1.3.0) - 2026-05-08
1415
### Added

app/lib/ui/utilities/reference_design_version_component.dart

Lines changed: 30 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,37 @@ class ReferenceDesignVersionComponent extends StatelessWidget {
1212

1313
@override
1414
Widget build(BuildContext context) {
15-
ThemeController? themeController = Provider.of<ThemeController>(context, listen: false);
15+
ThemeController? themeController = Provider.of<ThemeController>(
16+
context,
17+
listen: false,
18+
);
19+
final paddingLarge = themeController.currentTheme
20+
.spaceScheme(context)
21+
.paddingBlockLarge;
22+
1623
return Padding(
17-
padding: EdgeInsetsDirectional.all(
18-
themeController.currentTheme.spaceScheme(context).paddingBlockLarge,
19-
),
20-
child: Row(
21-
crossAxisAlignment: CrossAxisAlignment.start,
22-
children: [
23-
Text(
24-
context.l10n.app_components_common_version_label,
25-
style: themeController.currentTheme.typographyTokens.typeLabelStrongLarge(context),
26-
),
27-
Spacer(),
28-
OudsTag.text(label: version,appearance: OudsTagAppearance.muted, status: Info(), size: OudsTagSize.small) ],
29-
)
24+
padding: EdgeInsetsDirectional.all(paddingLarge),
25+
child: Wrap(
26+
crossAxisAlignment: WrapCrossAlignment.center,
27+
spacing: paddingLarge,
28+
runSpacing: paddingLarge / 2,
29+
children: [
30+
// Text wraps naturally without overflow
31+
Text(
32+
context.l10n.app_components_common_version_label,
33+
style: themeController.currentTheme.typographyTokens
34+
.typeLabelStrongLarge(context),
35+
softWrap: true,
36+
),
37+
// Tag stays compact and moves to next line if needed
38+
OudsTag.text(
39+
label: version,
40+
appearance: OudsTagAppearance.muted,
41+
status: Info(),
42+
size: OudsTagSize.small,
43+
),
44+
],
45+
),
3046
);
3147
}
3248
}

0 commit comments

Comments
 (0)