import * as React from 'react';
import { Text, Box } from '@fluentui/react-northstar';
import { link } from '../../../../utils/helpers';
import ComponentBestPractices from '../../../../components/ComponentBestPractices';
const doList = [
'Add textual representation for `CarouselItem`. Use `aria-label` attribute ( refer to{' '}
{link('reported issue', 'https://bugs.chromium.org/p/chromium/issues/detail?id=1040924')} for details).
,
'Provide localized string for items positioning using `getItemPositionText` prop.',
'Provide localized string of the "carousel" using `ariaRoleDescription` prop.',
'Provide label to the carousel using `ariaLabel` prop.',
If carousel contains `navigation`:
- provide label to each carousel item using `aria-label` attribute
- provide label to `navigation` slot and to navigation item using `aria-label` attribute
- add `aria-controls` attribute to navigation item referencing to `carouselItem` id
,
];
const CarouselBestPractices: React.FunctionComponent<{}> = () => {
return ;
};
export default CarouselBestPractices;