diff options
author | 2022-08-19 21:24:35 +0200 | |
---|---|---|
committer | 2022-08-20 21:41:50 +0200 | |
commit | 97f050bb39f5f88d80aab3aa7880002ead4f18d9 (patch) | |
tree | 3be89a15b08df304da96786ac5db801ce4903e7c /subprojects/frontend/src/editor/EditorButtons.tsx | |
parent | fix(frontend): destroy service worker in dev mode (diff) | |
download | refinery-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.tsx | 1 |
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" /> |