aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerHeader.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/components/SourceViewer/SourceViewerHeader.tsx')
-rw-r--r--server/sonar-web/src/main/js/components/SourceViewer/SourceViewerHeader.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerHeader.tsx b/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerHeader.tsx
index 48b0b8d0b00..20ccd738614 100644
--- a/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerHeader.tsx
+++ b/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerHeader.tsx
@@ -149,7 +149,11 @@ export default class SourceViewerHeader extends React.PureComponent<Props, State
<QualifierIcon qualifier={q} /> <span>{collapsedDirFromPath(path)}</span>
<span className="component-name-file">{fileFromPath(path)}</span>
<span className="nudged-up spacer-left">
- <ClipboardIconButton className="button-link link-no-underline" copyValue={path} />
+ <ClipboardIconButton
+ aria-label={translate('component_viewer.copy_path_to_clipboard')}
+ className="button-link link-no-underline"
+ copyValue={path}
+ />
</span>
</div>
</div>