Skip to content

Commit 6ac2fc5

Browse files
committed
fix(ui-heading): fix aria-label not passing when set
INSTUI-4638
1 parent 60001cd commit 6ac2fc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ui-heading/src/Heading/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,12 +219,12 @@ class Heading extends Component<HeadingProps> {
219219

220220
return (
221221
<View
222+
aria-label={this.getAriaLabel()}
222223
{...passthroughProps(props)}
223224
css={this.props.styles?.heading}
224225
as={ElementType}
225226
elementRef={this.handleRef}
226227
margin={margin}
227-
aria-label={this.getAriaLabel()}
228228
>
229229
{this.renderContent()}
230230
</View>

0 commit comments

Comments
 (0)