diff --git a/app/CHANGELOG.md b/app/CHANGELOG.md index 8f09b171..d3ccd1f8 100644 --- a/app/CHANGELOG.md +++ b/app/CHANGELOG.md @@ -31,6 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - [Bug]: Icons Button name ([#334](https://github.com/Orange-OpenSource/ods-flutter/issues/334)) - [Bug]: - Navigation Rail : Name customization ([#333](https://github.com/Orange-OpenSource/ods-flutter/issues/333)) - [Bug]: Card buttons ([#329](https://github.com/Orange-OpenSource/ods-flutter/issues/329)) +- [Bug]: Accessibility - add a header to the large title ([#343](https://github.com/Orange-OpenSource/ods-flutter/issues/343)) ### [0.7.O](https://github.com/Orange-OpenSource/ods-flutter/compare/0.1.1...0.7.0) - 2023-02-02 diff --git a/library/CHANGELOG.md b/library/CHANGELOG.md index 91949040..a6d2e4dc 100644 --- a/library/CHANGELOG.md +++ b/library/CHANGELOG.md @@ -28,6 +28,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - [Bug]: Icons Button name ([#334](https://github.com/Orange-OpenSource/ods-flutter/issues/334)) - [Bug]: - Navigation Rail : Name customization ([#333](https://github.com/Orange-OpenSource/ods-flutter/issues/333)) - [Bug]: Card buttons ([#329](https://github.com/Orange-OpenSource/ods-flutter/issues/329)) +- [Bug]: Accessibility - add a header to the large title ([#343](https://github.com/Orange-OpenSource/ods-flutter/issues/343)) ## [0.7.0](https://github.com/Orange-OpenSource/ods-flutter/compare/0.1.1...0.7.0) - 2023-02-02 diff --git a/library/lib/components/app_bar/top/ods_large_top_app_bar.dart b/library/lib/components/app_bar/top/ods_large_top_app_bar.dart index 349f0e1d..48a510e0 100644 --- a/library/lib/components/app_bar/top/ods_large_top_app_bar.dart +++ b/library/lib/components/app_bar/top/ods_large_top_app_bar.dart @@ -40,11 +40,14 @@ class OdsLargeTopAppBar extends StatelessWidget implements PreferredSizeWidget { Widget build(BuildContext context) { return CustomScrollView( slivers: [ - SliverAppBar.large( - title: Text(title), - actions: actions, - leading: navigationIcon, - automaticallyImplyLeading: navigationIcon != null ? true : false, + Semantics( + header: true, + child: SliverAppBar.large( + title: Text(title), + actions: actions, + leading: navigationIcon, + automaticallyImplyLeading: navigationIcon != null ? true : false, + ), ), /// Adding a list as content