mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-10 19:57:17 +03:00
Add aria-label
to quickstart widget (#12179)
This commit is contained in:
parent
0298b1a863
commit
99a05734a8
|
@ -251,7 +251,12 @@ const Quickstart = ({
|
||||||
</menu>
|
</menu>
|
||||||
</pre>
|
</pre>
|
||||||
{showCopy && (
|
{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>
|
</div>
|
||||||
</Container>
|
</Container>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user