Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-do "improve links" #538

Merged
merged 1 commit into from Sep 17, 2020

Conversation

samueldr
Copy link
Member

@samueldr samueldr commented Sep 17, 2020

I wasn't trying to be flippant in a66b8e1, it causes misc. issues around the site as this adds borders to links wholesale.

Some links are "structural" in the site; they are display: block to fill their parent element to make a bigger touchable target.

The best example of an issue this change causes is in the tabs navigation:

image

This is not the only issue this causes, but this is the most obvious.


What is the desired outcome of replacing the font-engine-native underline with a border? I don't see how this is improved.

The font-engine-native underline does things a border cannot do, like not striking through descenders.

image

While a border can do things the font-engine-native underline cannot do, but here it's not being done. Things like using a dotted or dashed underline, or changing the colour or size independently.


In a discussion with @garbas, I learned the reasoning behind this change.

It seems that user-experience research at mozilla found out that font-engine-native underlines make things hard to read, compared to the more spaced-out lines the borders allow.

I am personally somewhat doubting this until I can see research, but still can see how it can be a statistically-proven truth.

Thus, we probably can do this, but there are issues this causes. The main problem this causes is that at any place in the site a link is used as structural element, it needs to also gain the proper rules to prevent its border to be used. It also causes issues in that a "structural" element link can't gain a "proper" underline.

This sounds like something that shouldn't be pushed down onto the web developers to fix, but it's probably a much more complicated issue because of the incredible amount of baggage web design work is built on.

This reverts commit a66b8e1.
@samueldr samueldr added the design About the design refresh work label Sep 17, 2020
@github-actions
Copy link
Contributor

@garbas garbas merged commit 777f02a into feature/2020-redesign Sep 17, 2020
@samueldr
Copy link
Member Author

:/ this wasn't ready to merge, since there were the bugs to fix still. I'll do that on the main PR I guess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design About the design refresh work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants