Skip to content

Commit ff4b2f8

Browse files
committed
fix(Card): a11y
1 parent 2bef36d commit ff4b2f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react-core/src/demos/CardDemos.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -970,13 +970,13 @@ const Status: React.FunctionComponent = () => {
970970
<CardBody>
971971
<Tabs isFilled id="status-tabs" activeKey={activeTabKey} onSelect={handleTabClick}>
972972
{[1, 2, 3].map((tab, tabIndex) =>
973-
<Tab key={tabIndex} eventKey={tabIndex} title={<TabTitleText>{`Object ${tabIndex + 1}`}</TabTitleText>} tabContentId={`content${tabIndex}`} />
973+
<Tab key={tabIndex} eventKey={tabIndex} title={<TabTitleText>{`Object ${tabIndex + 1}`}</TabTitleText>} tabContentId={`tabContent${tabIndex}`} />
974974
)}
975975
</Tabs>
976976
</CardBody>
977977
<CardBody>
978978
{[1, 2, 3].map((tab, tabIndex) =>
979-
<TabContent key={tabIndex} eventKey={tabIndex} id={`${tabIndex}`} activeKey={activeTabKey} hidden={tabIndex !== activeTabKey}>
979+
<TabContent key={tabIndex} eventKey={tabIndex} id={`tabContent${tabIndex}`} activeKey={activeTabKey} hidden={tabIndex !== activeTabKey}>
980980
{tabContent}
981981
</TabContent>
982982
)}

0 commit comments

Comments
 (0)