Skip to content

Commit d364858

Browse files
committed
[WB-1112] Clarify aria-label docs
1 parent 9c024ac commit d364858

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/wonder-blocks-date-picker/src/components/date-picker.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ interface Props {
6262
*/
6363
footer?: (arg1: {close: () => unknown}) => React.ReactNode;
6464
/**
65-
* The aria-label to be used for the date picker.
65+
* The aria-label to be used for the date picker. This is only needed if there
66+
* is no visible label associated with the date picker, such as with LabeledField.
6667
*/
6768
inputAriaLabel?: string;
6869
}

0 commit comments

Comments
 (0)