Skip to content

🎧 Your Personal Streaming Service

Use Tooltip in links to external sites

Deluan763bcafdacb5
diff --git a/ui/src/album/AlbumDetails.js b/ui/src/album/AlbumDetails.js
index 0d6697f1e..92243bb92 100644
--- a/ui/src/album/AlbumDetails.js
+++ b/ui/src/album/AlbumDetails.js
@@ -5,6 +5,7 @@ import {
CardMedia,
Collapse,
IconButton,
+ Tooltip,
makeStyles,
Typography,
useMediaQuery,
@@ -201,9 +202,14 @@ const Links = (props) => {
target="_blank"
rel="noopener noreferrer"
>
- <IconButton size={'small'} title={translate('message.openIn.lastfm')}>
- <ImLastfm2 />
- </IconButton>
+ <Tooltip title={translate('message.openIn.lastfm')}>
+ <IconButton
+ size={'small'}
+ aria-label={translate('message.openIn.lastfm')}
+ >
+ <ImLastfm2 />
+ </IconButton>
+ </Tooltip>
</Link>
)
@@ -214,12 +220,14 @@ const Links = (props) => {
target="_blank"
rel="noopener noreferrer"
>
- <IconButton
- size={'small'}
- title={translate('message.openIn.musicbrainz')}
- >
- <MusicBrainz />
- </IconButton>
+ <Tooltip title={translate('message.openIn.musicbrainz')}>
+ <IconButton
+ size={'small'}
+ aria-label={translate('message.openIn.musicbrainz')}
+ >
+ <MusicBrainz />
+ </IconButton>
+ </Tooltip>
</Link>
)