WordPress.org

Making WordPress.org

Opened 2 months ago

Closed 2 months ago

Last modified 2 months ago

#3184 closed enhancement (fixed)

Underline Links in List (developer.wordpress.org)

Reported by: Travel_girl Owned by: SergeyBiryukov
Milestone: Priority: normal
Component: Handbooks Keywords: needs-patch has-screenshots
Cc:

Description (last modified by SergeyBiryukov)

Currently only links in p are underlined. If a link is in a list, the link is not underlined, which causes problems for colorblind people.

Also the contrast between the text and the link is not really different, so also for not-colorblind people its hard to spot the links.

I have found an example, where the list points are a budge of text, in in between are some links, so I think it would makes sense to also underline links in list points.

I also would prefer this style

#main li a {
    text-decoration: underline;
}

instead of

p a {
    border-bottom: 1px solid #dfdfdf;
}

which we are use currently, because the color contrast of the line fails AA (http://www.contrastchecker.com/)

Example:
https://developer.wordpress.org/themes/
https://developer.wordpress.org/themes/getting-started/what-is-a-theme/

Attachments (3)

currently.png (581.8 KB) - added by Travel_girl 2 months ago.
text-decoration_underlin.png (501.8 KB) - added by Travel_girl 2 months ago.
border-bottom-1px-solid-dfdfdf.png (537.1 KB) - added by Travel_girl 2 months ago.

Download all attachments as: .zip

Change History (8)

#1 @SergeyBiryukov
2 months ago

  • Description modified (diff)

#2 @SergeyBiryukov
2 months ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 6002:

developer.wordpress.org: Underline links in main content area for better accessibility.

Props Travel_girl.
Fixes #3184.

#3 @SergeyBiryukov
2 months ago

In 6003:

developer.wordpress.org: Don't underline links in ToC boxes.

See #3184.

#4 @SergeyBiryukov
2 months ago

In 6004:

developer.wordpress.org: Don't underline ToC heading and jump links.

See #3184.

#5 @SergeyBiryukov
2 months ago

In 6007:

developer.wordpress.org: Remove border from <abbr> and <acronym>, as it clashes with browser's default underline.

Restore underline on ToC jump links, for consistency with handbook styles.

See #3184.

Note: See TracTickets for help on using tickets.