Skip to content

Commit a4ae393

Browse files
nouha06Tayebsed93OITSofrecom
authored
fix: input text helper link and accessibility (#334) (#525)
* fix: add helper link for text input * fix: update documentation * review: update code generator and fix accessibility * review : remove focus oudslink * review : loader state bug * review: update code generator * chore: update link role in accessibility * fix: add link role into value for semantic in android devices * chore: update changelog files --------- Co-authored-by: Tayeb Sedraia <[email protected]> Co-authored-by: OITSofrecom <[email protected]>
1 parent da86028 commit a4ae393

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

app/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515
- [Library] Integration of System library v2.3.0, component changelog v1.11 ([#513](https://github.com/Orange-OpenSource/ouds-flutter/issues/#513))
1616

1717
### Fixed
18+
- [Library] Input text helper link ([#334](https://github.com/Orange-OpenSource/ouds-flutter/issues/#334))
1819
- [DemoApp][Library] Update keys, english label and Arabic translations ([#518](https://github.com/Orange-OpenSource/ouds-flutter/issues/#518))
1920

2021
## [0.7.0](https://github.com/Orange-OpenSource/ouds-flutter/compare/0.5.0...0.7.0) - 2025-12-01

ouds_core/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
- [Library] Update homepage documentation ([#135](https://github.com/Orange-OpenSource/ouds-flutter/issues/#135))
1313

1414
### Fixed
15+
- [Library] Input text helper link ([#334](https://github.com/Orange-OpenSource/ouds-flutter/issues/#334))
1516
- [Library] Update keys, english label and Arabic translations ([#518](https://github.com/Orange-OpenSource/ouds-flutter/issues/#518))
1617

1718
## [0.7.0](https://github.com/Orange-OpenSource/ouds-flutter/compare/0.5.0...0.7.0) - 2025-12-01

ouds_core/lib/components/link/ouds_link.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
/// {@category Link}
1515
library;
1616

17+
import 'dart:io';
1718
import 'package:flutter/material.dart';
1819
import 'package:flutter_svg/svg.dart';
1920
import 'package:ouds_core/components/common/OudsBorder.dart';
@@ -248,7 +249,9 @@ class _OudsLinkState extends State<OudsLink> {
248249
/// Builds the main link container with proper constraints
249250
return Semantics(
250251
enabled: !isDisabled,
251-
hint: OudsLocalizations.of(context)?.core_link_trait_a11y,
252+
link: true,
253+
// the link role is not read by talkback so we define it in value
254+
value: Platform.isAndroid ? OudsLocalizations.of(context)?.core_link_trait_a11y : null,
252255
child: _buildLinkContainer(
253256
context,
254257
child: content,

0 commit comments

Comments
 (0)