Make WordPress Core

Opened 3 weeks ago

Closed 3 weeks ago

Last modified 3 weeks ago

#62836 closed defect (bug) (fixed)

Remove title attribute from Customizer widget area selection

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

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.


3 weeks 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.


3 weeks 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
3 weeks ago

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

I go with Option 1.

#4 @joedolson
3 weeks ago

  • Milestone changed from Awaiting Review to 6.8

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

Last edited 3 weeks ago by joedolson (previous) (diff)

#5 @audrasjb
3 weeks ago

  • Keywords commit added
  • Owner set to audrasjb
  • Status changed from new to accepted

Yeah let's implement the first option.

@sabernhardt commented on PR #8158:


3 weeks ago
#6

Closing in favor of option 1

#7 @audrasjb
3 weeks ago

  • Resolution set to fixed
  • Status changed from accepted to 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.