aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/IssueSourceViewerHeader.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/IssueSourceViewerHeader.tsx')
-rw-r--r--server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/IssueSourceViewerHeader.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/IssueSourceViewerHeader.tsx b/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/IssueSourceViewerHeader.tsx
index e5695f6ec99..c8875ca4beb 100644
--- a/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/IssueSourceViewerHeader.tsx
+++ b/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/IssueSourceViewerHeader.tsx
@@ -121,7 +121,10 @@ export default function IssueSourceViewerHeader(props: Props) {
{expandable && (
<DeferredSpinner className="little-spacer-right" loading={loading}>
<div className="flex-0 big-spacer-left">
- <ButtonIcon className="js-actions" onClick={onExpand}>
+ <ButtonIcon
+ aria-label={translate('source_viewer.expand_all_lines')}
+ className="js-actions"
+ onClick={onExpand}>
<ExpandSnippetIcon />
</ButtonIcon>
</div>