Skip to content

Commit

Permalink
chore: yarn format
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonjoseph committed Oct 7, 2024
1 parent 9128f40 commit ee48fcd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/components/A11yStatus/A11yStatus.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ const A11yStatus = ({ components, layout }) => {
githubUrl = `https://github.com/carbon-design-system/carbon/tree/main/packages/react/src/components/${githubComponentName
.replace(/\b\w/g, (char) => char.toUpperCase())
.replace(/\s+/g, '')}`;
}
else {
} else {
githubUrl = `https://github.com/carbon-design-system/carbon/tree/main/packages/react/src/components/${componentName
.replace(/\b\w/g, (char) => char.toUpperCase())
.replace(/\s+/g, '')}`;
Expand Down
5 changes: 4 additions & 1 deletion src/pages/components/menu-buttons/accessibility.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -208,4 +208,7 @@ custom component.
- When the combo button menu is open, the element (`div`) wrapping the entire
combo button is given `aria-owns` with a value of the menu `id`.

<A11yStatus layout="table" components={["Menu buttons", "Combo button", "Overflow menu"]}/>
<A11yStatus
layout="table"
components={['Menu buttons', 'Combo button', 'Overflow menu']}
/>

0 comments on commit ee48fcd

Please sign in to comment.