Making WordPress.org

#6954 closed defect (bug) (fixed)

Remove excessive automatic hyphenation

Reported by: johnbillion's profile johnbillion Owned by:
Milestone: Priority: normal
Component: Plugin Directory Keywords:
Cc:

Description

The WordPress.org site makes heavy use of automatic word hyphenation via hyphens: auto; word-wrap: break-word; in CSS. On the Plugin Directory this is noticeable for being overly prominent, causing many short words within paragraphs to be hyphenated when there's no need for it (I'm using latest Chrome on macOS).

Examples

https://i.imgur.com/BetDB4m.png

https://i.imgur.com/bfEwQbj.png

Impact

Personally I find this makes paragraphs of text much more difficult to read, but I'm not overly familiar with the accessibility implications. I know that uneven edges are also a problem for some people.

As far as I can tell this was implemented in r6194 to alleviate unwanted overflow, but there's no discussion about hyphens specifically on #2861. This was five years ago so browser behaviour may have been different at the time.

Proposal

I think we should consider removing this automatic hyphenation from the plugin directory styles. It would be good to investigate if there are published guidelines from any of the major publishes around use of hyphens and automatic hyphenation of narrow columns of text. The accessibility team should be consulted and it'll need to be tested in the most popular browsers.

Change History (1)

#1 @dd32
11 months ago

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

This was worked on with the new theme for the plugin directory.

https://make.wordpress.org/meta/2024/04/30/the-plugin-directory-gets-a-refresh/

I believe this was fixed.

Note: See TracTickets for help on using tickets.