Skip to content

Commit a807890

Browse files
authored
fix(v8 ResizeGroup): Add accessible name to overflow button (#34974)
1 parent 84ee52b commit a807890

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/react-examples/src/react/ResizeGroup/ResizeGroup.OverflowSet.Example.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export const ResizeGroupOverflowSetExample: React.FunctionComponent = () => {
107107
};
108108

109109
const onRenderOverflowButton = (overflowItems: any) => (
110-
<CommandBarButton role="menuitem" menuProps={{ items: overflowItems! }} />
110+
<CommandBarButton aria-label="more" menuProps={{ items: overflowItems! }} />
111111
);
112112

113113
const onRenderData = (data: any) => {

packages/react-examples/src/react/ResizeGroup/ResizeGroup.VerticalOverflowSet.Example.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ const onRenderItem = (item: any) => (
6161

6262
const onRenderOverflowButton = (overflowItems: any) => (
6363
<CommandBarButton
64+
aria-label="more"
6465
styles={buttonStyles}
6566
menuIconProps={{ iconName: 'ChevronRight' }}
6667
menuProps={{ items: overflowItems!, directionalHint: DirectionalHint.rightCenter }}

0 commit comments

Comments
 (0)