For the love of all that is holy, can you all please start using `` for navigation and `` for actions, not the other way around?
-
@mahryekuh You have a typo:
> Be aware that I will use the words "link" and "anchor" to refer to the HTML <a> attribute, ...
"attribute" should be "element".
I'd also suggest hiding the line numbers in code snipets with `aria-hidden`, because they prevent screen readers from conveying indentation properly. A solution that makes the line numbers more accessible would of course be better, but I don't know of one on the web.
-
@mahryekuh I didn't think devs needed a(nother) blog post to understand this quite simple concept ๐ซ
But experience confirms many web devs still don't understand, it seems. So, thanks for doing your part ๐ซก
-
@mahryekuh Beyond that, despite my thoughts on the other thread, this is a good article on the topic.
-
@jscholes Thanks. The entire code block is a disaster (visually as well) and I donโt control the output. Itโs one of those legacy things Iโve been meaning to fix for longer than I care to admit.
My apologies for the bad experience. Once I have fixed some other style and JS related stuff, this comes next.
-
@maybeanerd I joked a while ago that with the way people treat link versus button, it feels like subject that requires a PhD.
-
@jscholes Thank you. Much appreciated!
-
Kystof Beuermannreplied to Marijke Luttekes last edited by
> One of my top annoyances with websites is when I want to open a link in a new tab and find out that I can't.
This! Exactly this! Even large websites break this pattern regularly. Makes me mad everytime!
-
Dave Heinemann ๐ฆ๐บreplied to Marijke Luttekes last edited by
@mahryekuh My pet peeve is JavaScript anchor tag links:
<a href="#" onclick="window.location.href = 'https://example.com'">Example</a>
Completely insufferable.
-
what about <a class="btn"> ?
-
12 Freya it/its๐ญ๐น๐ ๐ฉreplied to Marijke Luttekes last edited by
@mahryekuh y'konw what's worse? <a>s with aria-role=button so the screenreader's mega confused
-
Marijke Luttekesreplied to 12 Freya it/its๐ญ๐น๐ ๐ฉ last edited by [email protected]
@12 Some people just want to see the world burn.
-
12 Freya it/its๐ญ๐น๐ ๐ฉreplied to Marijke Luttekes last edited by
@mahryekuh fucking mood
-
Marijke Luttekesreplied to 12 Freya it/its๐ญ๐น๐ ๐ฉ last edited by
@12 See the toot I boosted earlier, mega mood
-
12 Freya it/its๐ญ๐น๐ ๐ฉreplied to Marijke Luttekes last edited by
@mahryekuh which one? link?
-
@simon_m If it is a link that acts like a link but has to look like a button, itโs probably fine.
-
Marijke Luttekesreplied to 12 Freya it/its๐ญ๐น๐ ๐ฉ last edited by
@12 https://mastodon.social/@webology/113449913043935756
โThis is fineโ
-
12 Freya it/its๐ญ๐น๐ ๐ฉreplied to Marijke Luttekes last edited by
@mahryekuh ooof
-
12 Freya it/its๐ญ๐น๐ ๐ฉreplied to Marijke Luttekes last edited by
@mahryekuh everything is pretty fine in our world, mostly because our world is full of Solaris
-
Marijke Luttekesreplied to 12 Freya it/its๐ญ๐น๐ ๐ฉ last edited by
@12 Yeah, absolutely.
-
Marijke Luttekesreplied to 12 Freya it/its๐ญ๐น๐ ๐ฉ last edited by
@12 At least itโs fine somewhere