Skip to content

Commit ffc8f3c

Browse files
committed
Added accessibility tags
1 parent 3daeac4 commit ffc8f3c

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)