From db6d572235afc7e061ecd4eabd10a5e9bbd2575c Mon Sep 17 00:00:00 2001 From: Rachel Breeze Date: Tue, 6 Apr 2021 02:50:14 +0100 Subject: [PATCH] Accessibility: Alerts the user how many results have been returned on a tree search (#10100) * Added support for screeen reader alerts on the embed so that assitive technology knows when a url retrieve has been succesfull. Added labels for the controls Preview reload only triggered if the values for height and width change * Tree search details the number of search items returned * Add French translations --- .../tree/umb-tree-search-results.html | 49 +++++++++---------- src/Umbraco.Web.UI/Umbraco/config/lang/en.xml | 4 ++ .../Umbraco/config/lang/en_us.xml | 4 ++ src/Umbraco.Web.UI/Umbraco/config/lang/fr.xml | 4 ++ 4 files changed, 36 insertions(+), 25 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/views/components/tree/umb-tree-search-results.html b/src/Umbraco.Web.UI.Client/src/views/components/tree/umb-tree-search-results.html index f472251624a2..fbabf4c67c9c 100644 --- a/src/Umbraco.Web.UI.Client/src/views/components/tree/umb-tree-search-results.html +++ b/src/Umbraco.Web.UI.Client/src/views/components/tree/umb-tree-search-results.html @@ -1,30 +1,29 @@
- - Sorry, we can not find what you are looking for. - - -
diff --git a/src/Umbraco.Web.UI/Umbraco/config/lang/en.xml b/src/Umbraco.Web.UI/Umbraco/config/lang/en.xml index 6559b2565a27..38dde65f5722 100644 --- a/src/Umbraco.Web.UI/Umbraco/config/lang/en.xml +++ b/src/Umbraco.Web.UI/Umbraco/config/lang/en.xml @@ -2577,4 +2577,8 @@ To manage your website, simply open the Umbraco backoffice and start adding cont View published version Stay in preview mode + + item returned + items returned + diff --git a/src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml b/src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml index 2b7c3ec842c0..f7d634171179 100644 --- a/src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml +++ b/src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml @@ -2596,4 +2596,8 @@ To manage your website, simply open the Umbraco backoffice and start adding cont View published version Stay in preview mode + + item returned + items returned + diff --git a/src/Umbraco.Web.UI/Umbraco/config/lang/fr.xml b/src/Umbraco.Web.UI/Umbraco/config/lang/fr.xml index 8900272af754..69e2189c6787 100644 --- a/src/Umbraco.Web.UI/Umbraco/config/lang/fr.xml +++ b/src/Umbraco.Web.UI/Umbraco/config/lang/fr.xml @@ -2372,4 +2372,8 @@ Pour gérer votre site, ouvrez simplement le backoffice Umbraco et commencez à ]]> + + élément retrouvé + éléments retrouvés +