From 60bacd323ee39f0f95232bf8c40b4d68ce8ba5b2 Mon Sep 17 00:00:00 2001 From: TJ Egan Date: Wed, 16 Dec 2020 14:06:53 -0500 Subject: [PATCH] docs(tooltip): add additional note for missing tooltip props --- packages/react/src/components/Tooltip/Tooltip.mdx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/react/src/components/Tooltip/Tooltip.mdx b/packages/react/src/components/Tooltip/Tooltip.mdx index bea5fcca31f5..c644d0a6fcbf 100644 --- a/packages/react/src/components/Tooltip/Tooltip.mdx +++ b/packages/react/src/components/Tooltip/Tooltip.mdx @@ -14,6 +14,11 @@ import { Props } from '@storybook/addon-docs/blocks'; ## Component API +Please note that in addition to the props below, `Tooltip` also has two +additional props: `triggerText` and `iconDescription`. If the `triggerText` prop +is _not_ provided, the `iconDescription` prop is required to populate the +`aria-label` property for a11y reasons. + ## Feedback