aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/forms/label.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/atoms/forms/label.tsx')
-rw-r--r--src/components/atoms/forms/label.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/atoms/forms/label.tsx b/src/components/atoms/forms/label.tsx
index ce4c70f..2ec614f 100644
--- a/src/components/atoms/forms/label.tsx
+++ b/src/components/atoms/forms/label.tsx
@@ -3,6 +3,10 @@ import styles from './label.module.scss';
export type LabelProps = {
/**
+ * An accessible name for the label.
+ */
+ 'aria-label'?: string;
+ /**
* The label body.
*/
children: ReactNode;