Skip to content

[ESLint 1/10] Fix safe-mechanical (sonarjs) + jsx-a11y warnings - #30989

Open
ShaileshParmar11 wants to merge 2 commits into
mainfrom
ShaileshParmar11/eslint-01-mechanical-a11y
Open

[ESLint 1/10] Fix safe-mechanical (sonarjs) + jsx-a11y warnings#30989
ShaileshParmar11 wants to merge 2 commits into
mainfrom
ShaileshParmar11/eslint-01-mechanical-a11y

Merge origin/main into eslint-01-mechanical-a11y

83782e1
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / [open-metadata-ui] SonarCloud Code Analysis succeeded Aug 21, 2026 in 2m 2s

Annotations

Check warning on line 137 in openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedCardNew/CommentCard.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Use <img alt=...> instead of the "presentation" role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ_RSKMUr05lXYHPhGpp&open=AZ_RSKMUr05lXYHPhGpp&pullRequest=30989

Check warning on line 70 in openmetadata-ui/src/main/resources/ui/src/utils/DataInsightChartUtils.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Use <img alt=...> instead of the "presentation" role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ_bBLEgc4JhQfw9I-AQ&open=AZ_bBLEgc4JhQfw9I-AQ&pullRequest=30989

Check warning on line 29 in openmetadata-ui/src/main/resources/ui/src/components/common/KeyDownStopPropagationWrapper/KeyDownStopPropagationWrapper.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Use <img alt=...> instead of the "presentation" role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ_RSJTAr05lXYHPhGpd&open=AZ_RSJTAr05lXYHPhGpd&pullRequest=30989

Check warning on line 524 in openmetadata-ui/src/main/resources/ui/src/components/Tag/TagsContainerV2/TagsContainerV2.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Use <img alt=...> instead of the "presentation" role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ_RSJmar05lXYHPhGpi&open=AZ_RSJmar05lXYHPhGpi&pullRequest=30989

Check warning on line 394 in openmetadata-ui/src/main/resources/ui/src/components/TestLibrary/TestDefinitionForm/TestDefinitionFormBody.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Use <img alt=...> instead of the "presentation" role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ_RSKMwr05lXYHPhGpr&open=AZ_RSKMwr05lXYHPhGpr&pullRequest=30989

Check warning on line 97 in openmetadata-ui/src/main/resources/ui/src/components/Settings/Team/TeamDetails/TeamsHeaderSection/TeamsHeadingLabel.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Use <img alt=...> instead of the "presentation" role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ_RSK6Mr05lXYHPhGpw&open=AZ_RSK6Mr05lXYHPhGpw&pullRequest=30989

Check warning on line 1146 in openmetadata-ui/src/main/resources/ui/src/utils/CSV/CSVUtilsClassBase.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Use <img alt=...> instead of the "presentation" role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ_RSMPir05lXYHPhGp5&open=AZ_RSMPir05lXYHPhGp5&pullRequest=30989

Check warning on line 172 in openmetadata-ui/src/main/resources/ui/src/components/common/TableDataCardV2/TableDataCardV2.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Use <input type="button">, <input type="image">, <input type="reset">, <input type="submit">, or <button> instead of the "button" role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ_RSJLDr05lXYHPhGpb&open=AZ_RSJLDr05lXYHPhGpb&pullRequest=30989

Check warning on line 314 in openmetadata-ui/src/main/resources/ui/src/components/MyData/Widgets/TotalDataAssetsWidget/TotalDataAssetsWidget.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Use <input type="button">, <input type="image">, <input type="reset">, <input type="submit">, or <button> instead of the "button" role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ_RSJ0Lr05lXYHPhGpj&open=AZ_RSJ0Lr05lXYHPhGpj&pullRequest=30989

Check warning on line 47 in openmetadata-ui/src/main/resources/ui/src/components/WorkflowDefinitions/Workflows/Nodes/GatewayNode/GatewayNode.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Use <input type="button">, <input type="image">, <input type="reset">, <input type="submit">, or <button> instead of the "button" role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ_RSKYRr05lXYHPhGpt&open=AZ_RSKYRr05lXYHPhGpt&pullRequest=30989

Check warning on line 235 in openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/TaskFeedCard/TaskFeedCard.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Use <input type="button">, <input type="image">, <input type="reset">, <input type="submit">, or <button> instead of the "button" role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ_RSKL9r05lXYHPhGpo&open=AZ_RSKL9r05lXYHPhGpo&pullRequest=30989

Check warning on line 481 in openmetadata-ui/src/main/resources/ui/src/components/Settings/Users/CreateUser/CreateUser.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Use <input type="button">, <input type="image">, <input type="reset">, <input type="submit">, or <button> instead of the "button" role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ_RSKvwr05lXYHPhGpv&open=AZ_RSKvwr05lXYHPhGpv&pullRequest=30989

Check warning on line 177 in openmetadata-ui/src/main/resources/ui/src/components/Entity/EntityLineage/AppPipelineModel/AddPipeLineModal.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Use <input type="button">, <input type="image">, <input type="reset">, <input type="submit">, or <button> instead of the "button" role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ_RSLE6r05lXYHPhGpx&open=AZ_RSLE6r05lXYHPhGpx&pullRequest=30989

Check warning on line 170 in openmetadata-ui/src/main/resources/ui/src/components/Settings/Users/UserProfileIcon/UserProfileIcon.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Use <input type="button">, <input type="image">, <input type="reset">, <input type="submit">, or <button> instead of the "button" role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ_RSKjTr05lXYHPhGpu&open=AZ_RSKjTr05lXYHPhGpu&pullRequest=30989

Check warning on line 177 in openmetadata-ui/src/main/resources/ui/src/components/Certification/Certification.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Use <img alt=...> instead of the "presentation" role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ_RSL71r05lXYHPhGp4&open=AZ_RSL71r05lXYHPhGp4&pullRequest=30989

Check warning on line 73 in openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedEditor/ActivityFeedEditorNew.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ_RSKG8r05lXYHPhGpm&open=AZ_RSKG8r05lXYHPhGpm&pullRequest=30989

Check warning on line 94 in openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedEditor/ActivityFeedEditor.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Use <img alt=...> instead of the "presentation" role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ_RSJ_Ur05lXYHPhGpl&open=AZ_RSJ_Ur05lXYHPhGpl&pullRequest=30989

Check warning on line 289 in openmetadata-ui/src/main/resources/ui/src/components/Entity/EntityLineage/CustomNode.utils.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Use <img alt=...> instead of the "presentation" role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ_bAqZBc4JhQfw9I-AP&open=AZ_bAqZBc4JhQfw9I-AP&pullRequest=30989

Check warning on line 1622 in openmetadata-ui/src/main/resources/ui/src/utils/CSV/CSVUtilsClassBase.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Use <img alt=...> instead of the "presentation" role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ_RSMPir05lXYHPhGp7&open=AZ_RSMPir05lXYHPhGp7&pullRequest=30989

Check warning on line 879 in openmetadata-ui/src/main/resources/ui/src/utils/DataAssetsHeader.utils.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Use Array.isArray() instead of isArray() from lodash.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ_RSMt3r05lXYHPhGp_&open=AZ_RSMt3r05lXYHPhGp_&pullRequest=30989

Check warning on line 220 in openmetadata-ui/src/main/resources/ui/src/components/Entity/EntityLineage/CanvasEdgeRenderer.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

aria-hidden="true" must not be set on focusable elements.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ_RSLFTr05lXYHPhGpy&open=AZ_RSLFTr05lXYHPhGpy&pullRequest=30989

Check warning on line 170 in openmetadata-ui/src/main/resources/ui/src/components/common/TableDataCardV2/TableDataCardV2.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ_R5O_BVUAxMOfFnsPs&open=AZ_R5O_BVUAxMOfFnsPs&pullRequest=30989

Check warning on line 1273 in openmetadata-ui/src/main/resources/ui/src/utils/CSV/CSVUtilsClassBase.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Use <img alt=...> instead of the "presentation" role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ_RSMPir05lXYHPhGp6&open=AZ_RSMPir05lXYHPhGp6&pullRequest=30989

Check warning on line 56 in openmetadata-ui/src/main/resources/ui/src/components/common/TagButton/TagButton.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Use <input type="button">, <input type="image">, <input type="reset">, <input type="submit">, or <button> instead of the "button" role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ_RSJJ_r05lXYHPhGpa&open=AZ_RSJJ_r05lXYHPhGpa&pullRequest=30989

Check warning on line 508 in openmetadata-ui/src/main/resources/ui/src/components/Tag/TagsContainerV2/TagsContainerV2.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Use <img alt=...> instead of the "presentation" role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ_RSJmar05lXYHPhGph&open=AZ_RSJmar05lXYHPhGph&pullRequest=30989