From 4b136694a700f7bfcb4ff20a289693e99c8ee8b4 Mon Sep 17 00:00:00 2001 From: yashgupta-hyland Date: Thu, 16 Jan 2025 17:16:42 +0530 Subject: [PATCH] WEBUI-785: nuxeo-document-tree icon needs to be focusable (#2414) --- .../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({