adding alt tag with empty text to fix jsx-a11y errors (#24922)
This commit is contained in:
parent
9527e0e7c7
commit
21bec215dd
2 changed files with 2 additions and 1 deletions
|
@ -148,6 +148,7 @@ export class VisualizeListingTable extends Component {
|
|||
<img
|
||||
className="visListingTable__typeImage"
|
||||
aria-hidden="true"
|
||||
alt=""
|
||||
src={item.type.image}
|
||||
/>
|
||||
);
|
||||
|
|
|
@ -24,7 +24,7 @@ export const RecognizedResult = ({
|
|||
// if a logo is available, use that, otherwise display the id
|
||||
// the logo should be a base64 encoded image
|
||||
if (config.logo && config.logo.src) {
|
||||
logo = <div><img className="synopsisIcon" src={config.logo.src}/></div>;
|
||||
logo = <div><img className="synopsisIcon" alt="" src={config.logo.src}/></div>;
|
||||
} else {
|
||||
logo = <h3 className="euiTitle euiTitle--small">{config.id}</h3>;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue