add/improve link titles

This commit is contained in:
Collin M. Barrett 2019-09-02 10:12:27 -05:00
parent 82ed18d51d
commit e33e2f16fa
3 changed files with 3 additions and 1 deletions

View file

@ -21,6 +21,7 @@ export const LicenseTag = (props: Props) =>
const TagContents = (props: Props) =>
props.descriptionUrl
? <a href={props.descriptionUrl}
title={`View ${props.name}'s homepage.`}
target="_blank"
rel="noopener noreferrer">
{props.name}

View file

@ -21,6 +21,7 @@ export const SyntaxTag = (props: Props) =>
const TagContents = (props: Props) =>
props.definitionUrl
? <a href={props.definitionUrl}
title={`View ${props.name}'s homepage.`}
target="_blank"
rel="noopener noreferrer">
{props.name}

View file

@ -46,7 +46,7 @@ export const SoftwareIcon = (props: Props) =>
src={icons[props.id].image}
height="20"
alt={icons[props.id].imageTitle}
title={icons[props.id].imageTitle} />
title={`View ${icons[props.id].imageTitle}'s homepage.`} />
: null;
interface Icon {