aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/src/editor/EditorButtons.tsx
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2022-08-19 21:24:35 +0200
committerLibravatar Kristóf Marussy <kristof@marussy.com>2022-08-20 21:41:50 +0200
commit97f050bb39f5f88d80aab3aa7880002ead4f18d9 (patch)
tree3be89a15b08df304da96786ac5db801ce4903e7c /subprojects/frontend/src/editor/EditorButtons.tsx
parentfix(frontend): destroy service worker in dev mode (diff)
downloadrefinery-97f050bb39f5f88d80aab3aa7880002ead4f18d9.tar.gz
refinery-97f050bb39f5f88d80aab3aa7880002ead4f18d9.tar.zst
refinery-97f050bb39f5f88d80aab3aa7880002ead4f18d9.zip
fix(frontend): CodeMirror gutter accessibility
Gutters are aria-hidden, so no accessibility attributes should point at them.
Diffstat (limited to 'subprojects/frontend/src/editor/EditorButtons.tsx')
-rw-r--r--subprojects/frontend/src/editor/EditorButtons.tsx1
1 files changed, 0 insertions, 1 deletions
diff --git a/subprojects/frontend/src/editor/EditorButtons.tsx b/subprojects/frontend/src/editor/EditorButtons.tsx
index 735531e8..8db9dfb7 100644
--- a/subprojects/frontend/src/editor/EditorButtons.tsx
+++ b/subprojects/frontend/src/editor/EditorButtons.tsx
@@ -58,7 +58,6 @@ function EditorButtons(): JSX.Element {
58 selected={editorStore.showLineNumbers} 58 selected={editorStore.showLineNumbers}
59 onClick={() => editorStore.toggleLineNumbers()} 59 onClick={() => editorStore.toggleLineNumbers()}
60 aria-label="Show line numbers" 60 aria-label="Show line numbers"
61 aria-controls={editorStore.lineNumbersId}
62 value="show-line-numbers" 61 value="show-line-numbers"
63 > 62 >
64 <FormatListNumberedIcon fontSize="small" /> 63 <FormatListNumberedIcon fontSize="small" />