Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#32494 closed defect (bug) (fixed)

Semantic elements for non-link links: Help and Screen Options

Reported by: afercia Owned by: afercia
Priority: normal Milestone: 4.3
Component: Administration Version: 4.2
Severity: normal Keywords: has-patch commit semantic-buttons
Cc: Focuses: accessibility

Description

For semantics and accessibility, links used as UI controls that are not real links but act as buttons should be buttons, see #26504.
The "Help" and "Screen Options" links already use an aria-expanded attribute and they just need to be marked up as buttons, with small CSS and JavaScript adjustments.

Attachments (2)

32494.patch​ (4.4 KB ) - added by afercia 11 years ago.
32494.2.patch​ (4.4 KB ) - added by afercia 11 years ago.

Download all attachments as: .zip

Change History (9)

@afercia
11 years ago

#1 @afercia
11 years ago

  • Keywords has-patch added

In the proposed patch:

  • Improve the "Help" and "Screen Options" controls accessibility making them real buttons.

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


11 years ago

#3 @afercia
11 years ago

  • Milestone Awaiting Review → 4.3
  • Owner set to afercia
  • Status new → assigned

#4 @afercia
11 years ago

  • Keywords commit added

@afercia
11 years ago

#5 @afercia
11 years ago

Updated patch with coding standards.

#6 @obenland
11 years ago

  • Resolution → fixed
  • Status assigned → closed

In 32844:

Semanticize Help and Screen Options toggle.

Links used as UI controls that are not real links but act as buttons, should be buttons.

Props afercia.
Fixes #32494.

#7 @afercia
10 years ago

  • Keywords semantic-buttons added
Note: See TracTickets for help on using tickets.