Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#39288 closed defect (bug) (duplicate)

KSES strips WAI-ARIA attributes

Reported by: paulschreiber's profile paulschreiber Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Security Keywords:
Focuses: accessibility Cc:

Description

WAI-ARIA attributes are stripped when saving.

Attributes that should be allowed:
aria-hidden
aria-checked
aria-selected
aria-pressed
aria-label
aria-labelledby
aria-disabled
aria-grabbed
aria-controls
aria-describedby
aria-required
tabindex

Change History (2)

#1 @paulschreiber
8 years ago

See related: TinyMCE strips WAI-ARIA attributes

Likely fix is to add these attributes towp_kses_allowed_html().

#2 @ocean90
8 years ago

  • Component changed from Editor to Security
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #30421.

Note: See TracTickets for help on using tickets.