File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -89,8 +89,9 @@ export class Carousel extends React.Component<ICarouselProps, ICarouselState> {
89
89
< div className = { this . getMergedStyles ( this . getButtonContainerStyles ( ) , containerButtonsStyles ) }
90
90
onClick = { ( ) => { if ( ! prevButtonDisabled ) { this . onCarouselButtonClicked ( false ) ; } } } >
91
91
< IconButton
92
+ ariaLabel = { prevButtonAriaLabel }
92
93
className = { this . getMergedStyles ( this . getButtonStyles ( false ) , prevButtonStyles ) }
93
- iconProps = { { iconName : prevButtonIconName , ariaLabel : prevButtonAriaLabel } }
94
+ iconProps = { { iconName : prevButtonIconName } }
94
95
disabled = { prevButtonDisabled }
95
96
onClick = { ( ) => { this . onCarouselButtonClicked ( false ) ; } } />
96
97
</ div >
@@ -116,8 +117,9 @@ export class Carousel extends React.Component<ICarouselProps, ICarouselState> {
116
117
< div className = { this . getMergedStyles ( this . getButtonContainerStyles ( ) , containerButtonsStyles ) }
117
118
onClick = { ( ) => { if ( ! nextButtonDisabled ) { this . onCarouselButtonClicked ( true ) ; } } } >
118
119
< IconButton
120
+ ariaLabel = { nextButtonAriaLabel }
119
121
className = { this . getMergedStyles ( this . getButtonStyles ( true ) , nextButtonStyles ) }
120
- iconProps = { { iconName : nextButtonIconName , ariaLabel : nextButtonAriaLabel } }
122
+ iconProps = { { iconName : nextButtonIconName } }
121
123
disabled = { nextButtonDisabled }
122
124
onClick = { ( ) => { this . onCarouselButtonClicked ( true ) ; } } />
123
125
</ div >
You can’t perform that action at this time.
0 commit comments