Add aria-label to quickstart widget (#12179)

This commit is contained in:
Marcus Blättermann 2023-01-25 11:46:55 +01:00 committed by svlandeg
parent f1ffcd239c
commit 8101c84901

View File

@ -251,7 +251,12 @@ const Quickstart = ({
</menu>
</pre>
{showCopy && (
<textarea ref={copyAreaRef} className={classes['copy-area']} rows={1} />
<textarea
ref={copyAreaRef}
className={classes['copy-area']}
rows={1}
aria-label={`Interactive code example for ${title}`}
/>
)}
</div>
</Container>