Skip to content

Commit

Permalink
#2218 Fix accessibility violations (#2219)
Browse files Browse the repository at this point in the history
Signed-off-by: Prince Sanchez <[email protected]>
  • Loading branch information
PRINCESANCHEZ authored Oct 21, 2024
1 parent d8bf1c3 commit 0fe97d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ class TitleEditor extends Component {
</div>)
: null;
const icon = this.props.icon && typeof this.props.icon === "string"
? <Isvg className="properties-title-heading-icon" src={this.props.icon} />
? <Isvg className="properties-title-heading-icon" src={this.props.icon} aria-hidden="true" />
: null;
if (label || icon) {
heading = (<div className="properties-title-heading">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ class ToolbarButtonItem extends React.Component {
}
const path = this.props.size === "sm" ? "M 29 29 L 29 23 23 29 Z" : "M 37 37 L 37 30 30 37 Z";
return (
<svg className="toolbar-tick-svg">
<svg className="toolbar-tick-svg" aria-hidden="true">
<path d={path} className="toolbar-tick-mark" />
</svg>
);
Expand Down

0 comments on commit 0fe97d7

Please sign in to comment.