Fixed a11y graph svg title issue

This commit is contained in:
vaidankarswapnil 2022-02-01 12:28:21 +05:30
parent b7f0548cca
commit e0f6fe84f4
1 changed files with 3 additions and 0 deletions

View File

@ -54,7 +54,9 @@ export class GraphVizComponent extends React.Component<GraphVizComponentProps> {
} }
} }
xmlSpace="preserve" xmlSpace="preserve"
aria-label="Load more icon"
> >
<title>Load More Icon</title>
<g style={{ opacity: 1 }}> <g style={{ opacity: 1 }}>
<g> <g>
<g style={{ opacity: 0.4 }}> <g style={{ opacity: 0.4 }}>
@ -151,6 +153,7 @@ export class GraphVizComponent extends React.Component<GraphVizComponentProps> {
width="20px" width="20px"
height="20px" height="20px"
> >
<title>Triangle Right</title>
<polygon points="0.5,10 0.5,0 5.2,5 " /> <polygon points="0.5,10 0.5,0 5.2,5 " />
</svg> </svg>
{/*<!-- Make whole area clickable instead of the shape -->*/} {/*<!-- Make whole area clickable instead of the shape -->*/}