Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#39288 closed defect (bug) (duplicate)

KSES strips WAI-ARIA attributes

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

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
10 years ago

See related: TinyMCE strips WAI-ARIA attributes

Likely fix is to add these attributes towp_kses_allowed_html().

#2 @ocean90
10 years ago

  • Component Editor → Security
  • Milestone Awaiting Review
  • Resolution → duplicate
  • Status new → closed

Duplicate of #30421.

Note: See TracTickets for help on using tickets.