You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a user clicks on a link, they should know if it is an internal or external link. External links are usually opened in a new tab. And some parts of our code are already adding an icon. But adding the icon in HTML can make translations containing HTML more complicated.
We suggest to use a CSS rule based on the target:
a[target="_blank"]::after {
/*show the icon.. */
}
Description
When a user clicks on a link, they should know if it is an internal or external link. External links are usually opened in a new tab. And some parts of our code are already adding an icon. But adding the icon in HTML can make translations containing HTML more complicated.
We suggest to use a CSS rule based on the target:
We currently display it like this:
This came up in:
Acceptance Criteria & Tests
target="_blank"
should have the icon, including in user-defined text like shop messages.https://about.openfoodnetwork.org.au
it's considered internal.The text was updated successfully, but these errors were encountered: