Skip to content

Commit 15ed60b

Browse files
committed
Merge branch 'accessibility' into dev
2 parents 4d03018 + ef19a17 commit 15ed60b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controls/webPartTitle/WebPartTitle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export class WebPartTitle extends React.Component<IWebPartTitleProps, {}> {
4949
}
5050

5151
{
52-
this.props.displayMode !== DisplayMode.Edit && this.props.title && <span>{this.props.title}</span>
52+
this.props.displayMode !== DisplayMode.Edit && this.props.title && <span role="heading" aria-level="2">{this.props.title}</span>
5353
}
5454
</div>
5555
);

0 commit comments

Comments
 (0)