From 6872262d217c63e2fa2ba85c7f716454def951f8 Mon Sep 17 00:00:00 2001 From: Tom <20648924+moT01@users.noreply.github.com> Date: Wed, 8 Dec 2021 18:28:20 -0600 Subject: [PATCH] fix(client): make new editor more accessible (#44425) --- client/src/templates/Challenges/classic/editor.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/client/src/templates/Challenges/classic/editor.tsx b/client/src/templates/Challenges/classic/editor.tsx index 124eee056b..a1e646afb4 100644 --- a/client/src/templates/Challenges/classic/editor.tsx +++ b/client/src/templates/Challenges/classic/editor.tsx @@ -491,7 +491,6 @@ const Editor = (props: EditorProps): JSX.Element => { // The z-index needs increasing as ViewZones default to below the lines. domNode.style.zIndex = '10'; - domNode.setAttribute('aria-hidden', 'true'); domNode.style.left = `${editor.getLayoutInfo().contentLeft}px`; domNode.style.width = `${editor.getLayoutInfo().contentWidth}px`; @@ -527,8 +526,6 @@ const Editor = (props: EditorProps): JSX.Element => { // The z-index needs increasing as ViewZones default to below the lines. outputNode.style.zIndex = '10'; - outputNode.setAttribute('aria-hidden', 'true'); - outputNode.style.left = `${editor.getLayoutInfo().contentLeft}px`; outputNode.style.width = `${editor.getLayoutInfo().contentWidth}px`;