diff --git a/addons/a11y/src/components/Report/Info.tsx b/addons/a11y/src/components/Report/Info.tsx index 743a617c02f4..0a8434e96dbf 100644 --- a/addons/a11y/src/components/Report/Info.tsx +++ b/addons/a11y/src/components/Report/Info.tsx @@ -7,7 +7,7 @@ const Wrapper = styled.div({ padding: 12, marginBottom: 10, }); -const Help = styled.p({ +const Description = styled.p({ margin: '0 0 12px', }); const Link = styled.a({ @@ -24,7 +24,7 @@ interface InfoProps { export const Info: FunctionComponent = ({ item }) => { return ( - {item.help} + {item.description} More info... diff --git a/addons/a11y/src/components/Report/Item.tsx b/addons/a11y/src/components/Report/Item.tsx index 815aa0a176b7..d00cffda1ce2 100644 --- a/addons/a11y/src/components/Report/Item.tsx +++ b/addons/a11y/src/components/Report/Item.tsx @@ -82,7 +82,7 @@ export const Item = (props: ItemProps) => { transform: `rotate(${open ? 0 : -90}deg)`, }} /> - {item.description} + {item.help}