Currently whenever we need to add a new link to the interface, a lot of this is dependent on the developer. This means that things like rel="noopener noreferrer" when adding target="_blank", aria-label etc are easily forgotten.
To improve this, we should attempt to add a simple link util function that can take in some basic information and ensure that properly formatted and secure links are returned.
Currently whenever we need to add a new link to the interface, a lot of this is dependent on the developer. This means that things like
rel="noopener noreferrer"
when addingtarget="_blank"
,aria-label
etc are easily forgotten.To improve this, we should attempt to add a simple link util function that can take in some basic information and ensure that properly formatted and secure links are returned.