WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#34606 closed defect (bug) (fixed)

Improve styling consistency of links within notices

Reported by: afercia Owned by: afercia
Milestone: 4.5 Priority: normal
Severity: normal Version: 4.3
Component: Administration Keywords: has-patch
Focuses: ui, accessibility Cc:

Description (last modified by afercia)

Notices (in a general sense, including errors, "nags", warnings, etc.) displayed in the admin can have links in their messages. Sometimes these links are barely noticeable, for example when they're inside a sentence and color alone is not sufficient to distinguish them from the surrounding text:

https://cldup.com/qZgV5dBTd3.png

Sometimes they're a little better because the context helps understand they're links, even if they're not underlined:

https://cldup.com/-JSkzpm8fr.png

Sometimes they're underlined:

https://cldup.com/rsQu3iV752.png

More examples:

https://cldup.com/33nzYSGI9g.png

https://cldup.com/OCwduJw3hH.png

https://cldup.com/S-5OBdTJXL.png

Sometimes they have a trailing dot:

https://cldup.com/TPALx1gxt9.png

Sometimes not:

https://cldup.com/Mc6Y3HIoD6.png

And some edge cases where the context helps but the consistency could be improved:

https://cldup.com/s9EyOZK_5F.png

https://cldup.com/XOZrb1Wd8U.png

For accessibility, links inside lines or blocks of text should be always underlined. Looks like making them always underlined would be a pretty simple and effective improvement I'd strongly recommend :) Any thoughts more than welcome.

Attachments (1)

34606.diff (638 bytes) - added by walbo 6 years ago.

Download all attachments as: .zip

Change History (8)

#1 @afercia
6 years ago

  • Description modified (diff)

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


6 years ago

#3 @rianrietveld
6 years ago

+1 for links in this examples underlined

@walbo
6 years ago

#4 @afercia
6 years ago

  • Keywords has-patch added; needs-patch removed

#5 @afercia
6 years ago

The two last screenshots above are somewhat special cases, maybe they would need some design feedback.

#6 @afercia
6 years ago

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

In 35801:

Notices: improve styling consistency of links within notices.

For accessibility, links inside lines or blocks of text should be always underlined.

Props walbo.
Fixes #34606.

#7 @netweb
6 years ago

  • Milestone changed from Awaiting Review to 4.5
Note: See TracTickets for help on using tickets.