From 695ca360c7a8e835eee7fd749e2b13ca01784159 Mon Sep 17 00:00:00 2001 From: Mike Fix Date: Wed, 29 Jul 2020 20:50:47 -0700 Subject: [PATCH] add accessible label to Codemirror textarea --- components/Carbon.js | 1 + 1 file changed, 1 insertion(+) diff --git a/components/Carbon.js b/components/Carbon.js index 291c256..845c7a3 100644 --- a/components/Carbon.js +++ b/components/Carbon.js @@ -154,6 +154,7 @@ class Carbon extends React.PureComponent { ) const options = { + screenReaderLabel: 'Code editor', lineNumbers: config.lineNumbers, firstLineNumber: config.firstLineNumber, mode: languageMode || 'plaintext',