From b5ae399cf8497e6a9db5e6e735be93636cbc18b9 Mon Sep 17 00:00:00 2001 From: Jan Skovgaard <1932158+BatJan@users.noreply.github.com> Date: Wed, 2 Dec 2020 22:42:07 +0100 Subject: [PATCH] Contextmenu: Add focus lock (#9027) * Move the wrapping div of the context-menu directive inside the directive instead * Add focus lock, attributes and temporary hardcoded text description of the overlay * Remove umb-auto-focus directive * Add dictionary key for the visuallyhidden description * Add tranlsation key for en-us Co-authored-by: Nathan Woulfe --- .../application/umb-contextmenu.html | 34 ++++++++++++------- .../application/umb-navigation.html | 16 ++++----- src/Umbraco.Web.UI/Umbraco/config/lang/en.xml | 9 ++--- .../Umbraco/config/lang/en_us.xml | 9 ++--- 4 files changed, 38 insertions(+), 30 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/views/components/application/umb-contextmenu.html b/src/Umbraco.Web.UI.Client/src/views/components/application/umb-contextmenu.html index 820ef4a886..0aa2e258a3 100644 --- a/src/Umbraco.Web.UI.Client/src/views/components/application/umb-contextmenu.html +++ b/src/Umbraco.Web.UI.Client/src/views/components/application/umb-contextmenu.html @@ -1,16 +1,24 @@ -
-
-

{{menuDialogTitle}}

-
+