diff --git a/client/src/templates/Challenges/classic/editor.tsx b/client/src/templates/Challenges/classic/editor.tsx index 124eee056be..a1e646afb4a 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`;