Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#34530 closed defect (bug) (fixed)

Update _default_wp_die_handler() style sheet

Reported by: afercia's profile afercia Owned by: afercia's profile afercia
Milestone: 4.4 Priority: normal
Severity: normal Version: 4.4
Component: Upgrade/Install Keywords: has-screenshots has-patch
Focuses: ui, accessibility Cc:

Description

_default_wp_die_handler() prints out a style element in the head section of the document, the CSS rules there should be updated to be consistent with recent changes, e.g. buttons style. Also, links should be underlined: they're barely noticeable and hard to distinguish for color blind or low vision users.

https://cldup.com/x-k3xQRJXF.png

Attachments (1)

34530.patch (1.5 KB) - added by afercia 10 years ago.

Download all attachments as: .zip

Change History (6)

#1 @afercia
10 years ago

It would be nice to explore new ideas and have a more maintainable solution, avoiding hardcoded style sheets.

#2 @afercia
10 years ago

For some background, see #17975.

@afercia
10 years ago

#3 @afercia
10 years ago

  • Keywords has-patch added; needs-patch removed

Keeping it simple, the proposed patch updated links and buttons styles in _default_wp_die_handler() and install.css. Example with patch applied:

https://cldup.com/lpIRqEk6n4.png

This ticket was mentioned in Slack in #core by afercia. View the logs.


10 years ago

#5 @afercia
10 years ago

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

In 35494:

Accessibility: Improve buttons focus and links style in the install screens.

Fixes #34530.

Note: See TracTickets for help on using tickets.