Opened 8 years ago
Closed 8 years ago
#39288 closed defect (bug) (duplicate)
KSES strips WAI-ARIA attributes
Reported by: | 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)
Note: See
TracTickets for help on using
tickets.
See related: TinyMCE strips WAI-ARIA attributes
Likely fix is to add these attributes to
wp_kses_allowed_html()
.