Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 3 years ago

#39287 closed defect (bug) (fixed)

TinyMCE strips WAI-ARIA attributes

Reported by: paulschreiber's profile paulschreiber Owned by:
Milestone: 4.8 Priority: normal
Severity: normal Version: 4.7
Component: TinyMCE Keywords: upstream
Focuses: accessibility Cc:

Description

WAI-ARIA attributes are stripped when switching from Text to Visual mode.

Attributes that should be allowed:
role
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 (6)

#1 @azaozz
6 years ago

  • Milestone changed from Awaiting Review to Future Release

Related: #30421.

Would be best if this is fixed upstream in TinyMCE. Looking at https://core.trac.wordpress.org/ticket/30421#comment:25, not sure if we would want to allow all of the above attributes. For example I've seen a lot of misuse of tabindex. However all WAI-ARIA attributes should probably be allowed by default in the editor.

#3 @azaozz
6 years ago

  • Keywords upstream added

#4 @azaozz
6 years ago

  • Resolution set to fixed
  • Status changed from new to closed

I believe this is fixed in TinyMCE 4.6.3 in WordPress 4.8.

#5 @netweb
6 years ago

  • Milestone Future Release deleted

#6 @SergeyBiryukov
3 years ago

  • Milestone set to 4.8
Note: See TracTickets for help on using tickets.