Link elements
Links are an essential part of each website. You can place links within any element with a rich text editor as a hyperlink and you can add a link which always leads to the top if the page, the toplink.
Hyperlink
Einfache Textlinks, die mit dem Text-Editor generiert werden, sind technisch gesehen barrierefrei. Das barrierefreie Wording ist Sache der Redakteur:innen.
Es kann allerdings sinnvoll sein, die Nutzung des Title-Attributs zu verhindern – das ist nämlich für einige Benutzer:innen gar nicht oder nur eingeschränkt zugänglich, z.B.:
- Sehende Tastaturnutzer:innen
- Touchscreen-Nutzer:innen
- Screenreader-Nutzer:innen (abhängig von den Benutzer-Einstellungen und der Browser-Screeenreader-Kombination)
Deshalb sollte das title-Attribut keine essentiellen Informationen enthalten – wodurch eine sinnvolle Nutzung extrem eingeschränkt wird auf einige wenige Sonderfälle.
Es könnte deshalb sinnvoll sein, den Link
The following fields should always be addressed:
- Link target: the destination of the link, it can be an external URL such as https://contao.org or an internal link you can chose from the Contao site structure
- Open in new window: force the link to be opend in a new browser window or tab
- Link text: the word or phrase that will be displayed and act as the link
- Embed the link: a phrase to embed the link in the page by using "%p" as the wildcard
- Link title: the title attribute of the a-tag
- Lightbox: forces the browser to open the link inside a lightbox. For this field to be available Mootools or jQuery has to be enabled in the page layout and a corresponding j- or moo-template has to be added
You can even use an image link by activating the checkbox "create an image link". Choose an image in the file manager, enter alternate text to be displayed when the image can not be displayed, enter an image title to be displayed with the image, set the title dimensions of the image and an optional caption.
Top link
The toplink element adds a link element leading to the top of the current page.
You just enter the link text to be displayed for this element.
You can see the element in action on the content element overview page.