From d56965c52edb903c358ab0418330ff91a429bad5 Mon Sep 17 00:00:00 2001 From: yashgupta-hyland Date: Wed, 8 Jan 2025 10:46:18 +0530 Subject: [PATCH] WEBUI-785: nuxeo-document-tree icon needs to be focusable --- .../nuxeo-document-tree.js | 40 ++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/elements/nuxeo-document-tree/nuxeo-document-tree.js b/elements/nuxeo-document-tree/nuxeo-document-tree.js index f1824d9610..3fe3e23fa3 100644 --- a/elements/nuxeo-document-tree/nuxeo-document-tree.js +++ b/elements/nuxeo-document-tree/nuxeo-document-tree.js @@ -100,6 +100,14 @@ Polymer({ cursor: pointer; } + [toggle]:focus { + outline: 2px solid black; + outline-offset: 0.2px; + border-radius: 3px; + box-shadow: 0 0 3px black; + background-color: rgba(0, 0, 0, 0); + } + .parents { line-height: 1.5em; } @@ -191,7 +199,16 @@ Polymer({