Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#31324 closed defect (bug) (fixed)

Admin bar "About WordPress" empty link and title attributes

Reported by: afercia's profile afercia Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 4.2 Priority: normal
Severity: normal Version: 4.1
Component: Toolbar Keywords: has-patch title-attribute
Focuses: ui, accessibility Cc:


When checking accessibility issues with automated tools, e.g. the WAVE Evaluation Tool, there's always, in every admin screen, one error related to "empty link". Finally figured out it's the "About WordPress" toolbar top-level link which has no text, just a title attribute.
In the proposed patch I would propose to remove the title attribute and use its string as screen-reader-text.

Removed also two other title attributes:
'My Account'
'Add New'
didn't touch the Updates and Comments count ones. though the title attribute is a poorly implemented feature and not so useful, see #24766, maybe in the future a new UI feature should be used to display those data.

Attachments (1)

31324.patch (1.1 KB) - added by afercia 9 years ago.

Download all attachments as: .zip

Change History (5)

9 years ago

#1 @afercia
9 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
9 years ago

  • Milestone changed from Awaiting Review to 4.2

#3 @SergeyBiryukov
9 years ago

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

In 31456:

Toolbar: Remove title attributes from 'About WordPress', 'Add New', and 'My Account' items.

props afercia.
fixes #31324.

#4 @afercia
7 years ago

  • Keywords title-attribute added
Note: See TracTickets for help on using tickets.