Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#26288 closed defect (bug) (fixed)

Colour Contrast Issues within Add Media Panel Attachment Details

Reported by: grahamarmfield's profile grahamarmfield Owned by: helen's profile helen
Milestone: 3.8 Priority: normal
Severity: normal Version: 3.8
Component: Accessibility Keywords: has-patch
Focuses: Cc:

Description

Within the Attachment Details and Attachment Display Settings section of the Add Media panel, there are a number of different text strings that have insufficient color contrast. These are:

  • The two headings: Attachment Details and Attachment Display Settings
  • The upload date and pixel dimensions for the file
  • The labels for the various form fields

A screenshot is attached which highlights the affected text.

WCAG guidelines state that contrast between text and its background should be at least 4.5:1.

Darker text (eg of a colour of # 666) should be employed

Attachments (2)

add-media-info-panel.jpg (32.7 KB) - added by grahamarmfield 10 years ago.
Screenshot showing the text that has insufficient contrast.
26288.patch (997 bytes) - added by neil_pie 10 years ago.
Updating colours in media-views.css

Download all attachments as: .zip

Change History (8)

@grahamarmfield
10 years ago

Screenshot showing the text that has insufficient contrast.

#1 @grahamarmfield
10 years ago

  • Cc graham.armfield@… added
  • Component changed from General to Accessibility
  • Version set to trunk

#2 @SergeyBiryukov
10 years ago

  • Milestone changed from Awaiting Review to 3.8

@neil_pie
10 years ago

Updating colours in media-views.css

#3 follow-up: @neil_pie
10 years ago

  • Keywords has-patch needs-testing added

#4 in reply to: ↑ 3 @grahamarmfield
10 years ago

Replying to neil_pie:
Patch tested on Windows 7 laptop using Colour Contrast Analyzer and contrast levels are sufficient to pass WCAG2.0 AA. Nice one Neil.

#5 @grahamarmfield
10 years ago

  • Keywords needs-testing removed

#6 @helen
10 years ago

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

In 26455:

Increase the contrast of sidebar text in the media modal. props neil_pie. fixes #26288.

Note: See TracTickets for help on using tickets.