Skip to content

🎥 Make videos programmatically with React

Distinguish modal close label from dialog action

JonnyBurger773e7cc05c21
diff --git a/packages/studio/src/components/NewComposition/CancelButton.tsx b/packages/studio/src/components/NewComposition/CancelButton.tsx
index 39add5ddd7..ba8a2f51e7 100644
--- a/packages/studio/src/components/NewComposition/CancelButton.tsx
+++ b/packages/studio/src/components/NewComposition/CancelButton.tsx
@@ -49,7 +49,7 @@ export const CancelButton: React.FC<
const {tabIndex} = useZIndex();
return (
<button
- aria-label="Close"
+ aria-label="Close dialog"
className={`${HOVERABLE_CLASS_NAME} ${FOCUS_VISIBLE_ONLY_CLASS_NAME}`}
tabIndex={tabIndex}
style={style}