Skip to content

Html docs: Remove link underlines again? #8439

Closed

Description

@faho

Since 94890c2, we underline links in the html version of the docs.

I think it's a bit much:

With:

Screenshot_20211112_173754

Without:

Screenshot_20211112_173829

In the former, the links just seem overwhelming and, especially with the long section titles in the FAQ, just bleed into each other.

In the text, links are already blue, so there shouldn't be any confusion. And the section links are in the sidebar, which is reasonably obviously a place for links.

I would like to change this back.

Activity

  1. added
    docs
    on Nov 12, 2021
  2. added this to the fish 3.4.0 milestone on Nov 12, 2021
  3. faho commented on Nov 12, 2021

    @faho
    MemberAuthor

    Compare the python docs, which also do not feature underlines.

  4. krobelus commented on Nov 12, 2021

    @krobelus
    Contributor

    Agreed. Browsers still default to rendering <a href> with underlines by default but most websites leave them out

  5. kopischke commented on Nov 12, 2021

    @kopischke

    Though I agree on aesthetic grounds, I would be remiss not to note there are accessibility issues around relying on colour alone for denoting links. WCAG 2.0 recommends against that, as vision impaired, colour deficient and dyslectic users cannot discern these well.

  6. faho commented on Nov 12, 2021

    @faho
    MemberAuthor

    Yeah, but this ain't it. The links are hard to tell from each other. The links will get underlines when hovering over, the section links in particular are in the section link bit of the screen.

    Also, from one of your links:

    WCAG 2.0 has 2 additional requirements for body text links that are not underlined by default:

    The link text must have a 3:1 contrast ratio from the surrounding non-link text.

    The link must present a "non-color designator" (typically the introduction of the underline) on both mouse hover and keyboard focus.

    Since we have underline on hover, that would be enough.

  7. faho commented on Nov 12, 2021

    @faho
    MemberAuthor

    Okay, I've now left the underlining only in the body of the text. There it does make links more obvious, and the issue of links bleeding into each other doesn't really happen - you don't really have "link link link", like you do in the sidebar.

    I feel that's a good compromise.

  8. floam commented on Nov 12, 2021

    @floam
    Member

    I agree - it was making the navigation on the left an eye chart. Good change.

  9. added a commit that references this issue on Dec 12, 2021
  10. locked as resolved and limited conversation to collaborators on Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docs

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions