add accessible label to Codemirror textarea

main
Mike Fix 4 years ago
parent dbeca58108
commit 695ca360c7
No known key found for this signature in database
GPG Key ID: 1D85E862314CA79F

@ -154,6 +154,7 @@ class Carbon extends React.PureComponent {
) )
const options = { const options = {
screenReaderLabel: 'Code editor',
lineNumbers: config.lineNumbers, lineNumbers: config.lineNumbers,
firstLineNumber: config.firstLineNumber, firstLineNumber: config.firstLineNumber,
mode: languageMode || 'plaintext', mode: languageMode || 'plaintext',

Loading…
Cancel
Save