Skip to content

Commit

Permalink
Added accessibility tags
Browse files Browse the repository at this point in the history
  • Loading branch information
wobba committed Sep 5, 2018
1 parent 3daeac4 commit ffc8f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controls/webPartTitle/WebPartTitle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class WebPartTitle extends React.Component<IWebPartTitleProps, {}> {
}

{
this.props.displayMode !== DisplayMode.Edit && this.props.title && <span>{this.props.title}</span>
this.props.displayMode !== DisplayMode.Edit && this.props.title && <span role="heading" aria-level="2">{this.props.title}</span>
}
</div>
);
Expand Down

0 comments on commit ffc8f3c

Please sign in to comment.