Make WordPress Core

Opened 21 months ago

Closed 21 months ago

Last modified 21 months ago

#62836 closed defect (bug) (fixed)

Remove title attribute from Customizer widget area selection

Reported by: sabernhardt Owned by: audrasjb
Priority: normal Milestone: 6.8
Component: Customize Version:
Severity: normal Keywords: title-attribute has-patch commit
Cc: Focuses: accessibility

Description

Related: #24766

The Customizer's legacy Widgets interface includes a title attribute for the sidebar description.

If the description is worth showing, then changing it from a tooltip to visible text below the sidebar name would make it accessible to more people. If it is unnecessary, the title attribute could simply be removed.

To find the sidebar list:

  1. Install and activate the Classic Widgets plugin.
  2. Activate a classic theme with multiple widget areas, such as Twenty Twenty.
  3. Go to the Customizer.
  4. Click the Widgets button.
  5. Click on one of the widget areas.
  6. Click the "Reorder (widgets)" button.
  7. Click on the "move to another area" button. This is the first icon of three, using the same arrow on a box that indicates external links in other places.

Change History (8)

This ticket was mentioned in ​PR #8157 on ​WordPress/wordpress-develop by ​@sabernhardt.


21 months ago
#1

  • Keywords has-patch added

Option 1: Show sidebar name and description, and remove the title attribute.

https://github.com/user-attachments/assets/37875c76-d2f9-455b-a994-f40c7e681389

Trac 62836

This ticket was mentioned in ​PR #8158 on ​WordPress/wordpress-develop by ​@sabernhardt.


21 months ago
#2

Option 2: Remove the title attribute with sidebar description, and then the option only shows the sidebar name.

https://github.com/user-attachments/assets/39e041fa-08d9-46b2-9755-38394037ab70

Trac 62836

#3 @mukesh27
21 months ago

Thanks @sabernhardt for the ticket and PR with possible options.

I go with Option 1.

#4 @joedolson
21 months ago

  • Milestone Awaiting Review → 6.8

I would agree with option 1. These descriptions are significant, and I think they should be exposed to users.

Last edited 21 months ago by joedolson (previous) (diff)

#5 @audrasjb
21 months ago

  • Keywords commit added
  • Owner set to audrasjb
  • Status new → accepted

Yeah let's implement the first option.

​@sabernhardt commented on ​PR #8158:


21 months ago
#6

Closing in favor of option 1

#7 @audrasjb
21 months ago

  • Resolution → fixed
  • Status accepted → closed

In 59676:

Customize: Show sidebar's description below its name in Customizer Widgets sidebar list.

This is part of an effort to reduce title attribute usage in WordPress Admin. This changeset updates the Customizer Widgets sidebar list to show sidebar name and description (as these informations may benefit to everyone), and remove the title attribute.

Follow-up to [22439], [27548], [31513], [32991], [50804], [53414], [59675].

Props karlgroves, sabernhardt, mukesh27, joedolson.
Fixes #62836.
See #24766.

Note: See TracTickets for help on using tickets.