aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/src/editor/GenerateButton.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/frontend/src/editor/GenerateButton.tsx')
-rw-r--r--subprojects/frontend/src/editor/GenerateButton.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/subprojects/frontend/src/editor/GenerateButton.tsx b/subprojects/frontend/src/editor/GenerateButton.tsx
index 0eed129e..14258723 100644
--- a/subprojects/frontend/src/editor/GenerateButton.tsx
+++ b/subprojects/frontend/src/editor/GenerateButton.tsx
@@ -22,7 +22,11 @@ function GenerateButton(): JSX.Element {
22 22
23 if (errorCount > 0) { 23 if (errorCount > 0) {
24 return ( 24 return (
25 <Button color="error" onClick={() => editorStore.nextDiagnostic()}> 25 <Button
26 aria-label={`Select next diagnostic out of ${summary}`}
27 color="error"
28 onClick={() => editorStore.nextDiagnostic()}
29 >
26 {summary} 30 {summary}
27 </Button> 31 </Button>
28 ); 32 );