WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#30069 closed enhancement (fixed)

Twenty Fifteen: Make Post Navigation Image Background Darker

Reported by: davidakennedy Owned by: iandstewart
Milestone: 4.1 Priority: normal
Severity: normal Version: 4.1
Component: Bundled Theme Keywords: has-patch commit
Focuses: accessibility Cc:
PR Number:

Description

The background color for the post navigation when a post has a thumbnail is a nice design pattern.

While it's up to the site owner to ensure their content meets whatever accessibility standards they're aiming for, we should try to make it as easy as possible. The background-color for:

.post-navigation .has-post-thumbnail a:before {
    background-color: rgba(0, 0, 0, 0.3);
}

Could maybe be darkened slightly to make the text overlaying it as high contrast as possible for a wider variety of images.

Attachments (1)

30069.patch (444 bytes) - added by davidakennedy 5 years ago.

Download all attachments as: .zip

Change History (5)

@davidakennedy
5 years ago

#1 @iamtakashi
5 years ago

  • Keywords has-patch added

I'm good with this change. Thanks!

#2 @iandstewart
5 years ago

  • Keywords commit added

#3 @iandstewart
5 years ago

  • Milestone changed from Awaiting Review to 4.1

#4 @iandstewart
5 years ago

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

In 30011:

Twenty Fifteen: darken up the post navigation with thumbnail for better a11y.

Props davidakennedy, fixes #30069.

Note: See TracTickets for help on using tickets.