Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2020-11-27 16:20:46

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Textile links and rel attribute

I’m under the impression that rel="external" is a good way to inform screen readers when a link points away from the current site. But as far as I’m aware that’s not something you can account for with Textile links so the accessibility benefit is wasted… Or, you use regular HTML links, but that’s just crazy. ;)

Is it worth raising a Textile ticket for so our quiet, blond elven friend gocom might work his magic, or is it pretty much not possible?

I’d much prefer that the title feature of Textile links ("link(title)":url) worked as a rel feature instead ("link(rel)":url). Then if you needed a title pop up in those rare cases, just use a regular HTML link. In our new age of mobile, this seems like a better way for Textile links to work, no? Turn it around.

I guess there’s, what, backwards compat concern? Pfft! ;)

Last edited by Destry (2020-11-27 16:24:35)

Offline

#2 2020-11-27 17:34:22

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: Textile links and rel attribute

A short tag may be more flexible for those.

<txp::ext url="https://www.textpattern.com/" txt="Textpattern" />

Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB