diff options
author | Mathieu Suen <mathieu.suen@sonarsource.com> | 2022-08-31 12:52:17 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-09-01 20:03:03 +0000 |
commit | 39b92139dff11afde629d4f6d2b2af54f5d3cbbc (patch) | |
tree | 634250c04b5459e10a5a82d16e591b3bd2a0f82c /server/sonar-web/src/main/js/apps/issues | |
parent | d0feebf94738f1699ee189186c722c8caf0563f6 (diff) | |
download | sonarqube-39b92139dff11afde629d4f6d2b2af54f5d3cbbc.tar.gz sonarqube-39b92139dff11afde629d4f6d2b2af54f5d3cbbc.zip |
SONAR-17020 Status message not automatically announced
Diffstat (limited to 'server/sonar-web/src/main/js/apps/issues')
2 files changed, 4 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/CrossComponentSourceViewer.tsx b/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/CrossComponentSourceViewer.tsx index 6fcd02d3a24..739e1eb92f9 100644 --- a/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/CrossComponentSourceViewer.tsx +++ b/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/CrossComponentSourceViewer.tsx @@ -187,7 +187,7 @@ export default class CrossComponentSourceViewer extends React.PureComponent<Prop if (loading) { return ( <div> - <DeferredSpinner /> + <DeferredSpinner ariaLabel={translate('code_viewer.loading')} /> </div> ); } diff --git a/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/__tests__/__snapshots__/CrossComponentSourceViewer-test.tsx.snap b/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/__tests__/__snapshots__/CrossComponentSourceViewer-test.tsx.snap index bb4d3618332..beeb3c28c2b 100644 --- a/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/__tests__/__snapshots__/CrossComponentSourceViewer-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/__tests__/__snapshots__/CrossComponentSourceViewer-test.tsx.snap @@ -17,7 +17,9 @@ exports[`should handle duplication popup 1`] = ` exports[`should render correctly 1`] = ` <div> - <DeferredSpinner /> + <DeferredSpinner + ariaLabel="code_viewer.loading" + /> </div> `; |