Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 10 years ago

#31324 closed defect (bug) (fixed)

Admin bar "About WordPress" empty link and title attributes

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

Description

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 12 years ago.

Download all attachments as: .zip

Change History (5)

#1 @afercia
12 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
12 years ago

  • Milestone Awaiting Review → 4.2

#3 @SergeyBiryukov
12 years ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → closed

In 31456:

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

props afercia.
fixes #31324.

#4 @afercia
10 years ago

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