WordPress.org

Make WordPress Core

Opened 5 months ago

Last modified 4 weeks ago

#40187 assigned enhancement

The tag cloud should output a list

Reported by: afercia Owned by: davidakennedy
Milestone: 4.9 Priority: normal
Severity: normal Version:
Component: Taxonomy Keywords: tag-cloud needs-patch
Focuses: ui, accessibility, administration Cc:

Description

Following the improvements proposed for the tag cloud for themes, see #35566, #40138, and #40184.

Ideally, the tag cloud should be marked up as a list (<ul>) also in the few places where it's used in core. Apart from better semantics, an unordered list would also allow screen reader users to know in advance how many tags are within the list.

The wp_generate_tag_cloud() already has a format argument that can be set to list, this change would require just a few, simple, CSS adjustments.

Places where to look: the editor screen Tags meta box, and Press This.

About the tag cloud used in the Add Plugins > Featured screen, see #40186

Ticket submitted at WordCamp London 2017 :)

Change History (14)

#1 @SergeyBiryukov
5 months ago

  • Component changed from Administration to Taxonomy
  • Focuses administration added

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


5 months ago

#3 @afercia
5 months ago

  • Keywords tag-cloud added
  • Milestone changed from Awaiting Review to 4.8

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


3 months ago

#5 @jbpaul17
3 months ago

  • Keywords needs-patch added

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


3 months ago

#7 @afercia
3 months ago

  • Milestone changed from 4.8 to 4.8.1

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


3 months ago

#9 @afercia
8 weeks ago

  • Milestone changed from 4.8.1 to 4.9

#10 @xkon
6 weeks ago

Sorry for bumping in, but I've got a bit confused as I saw multiple tickets talking about the tag clouds and I got a bit lost.

To clarify we are talking about an output like this here if I'm not mistaken?

https://dev.xkon.gr/forum_stuff/tagcloud.png

If that's the case I could fix a patch for TwentySeventeen to handle that ( as you can see I've already done it but I can refine it a little bit ).

My question would be this though, what if the tags are kind of many.. The current stacked list supports more tags in less space. A <ul> would require more 'space' in a page and sometimes it will either make it hard to scroll down to find another widget or just for the purpose of having a beautiful site.

Best regards,
Konstantinos

PS. Sorry if I went out of topic somewhere but I'm totally lost on what is to be done with tag clouds :) .

#11 @afercia
6 weeks ago

@xkon the proposal is to change just the markup, without any visual change. That is, change the output in order to produce a list and style it to match the current visual. Also, this ticket is about the tag cloud use din the core admin screens. The other tickets are about Themes.

#12 @xkon
6 weeks ago

Thank you for clarifying @afercia . Now I have a clear view of what is wanted.

Best regards,
Konstantinos

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


5 weeks ago

#14 @afercia
4 weeks ago

  • Owner set to davidakennedy
  • Status changed from new to assigned
Note: See TracTickets for help on using tickets.