Make WordPress Core

Opened 10 years ago

Closed 9 years ago

Last modified 6 years ago

#39287 closed defect (bug) (fixed)

TinyMCE strips WAI-ARIA attributes

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

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

  • Milestone Awaiting ReviewFuture 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
10 years ago

  • Keywords upstream added

#4 @azaozz
9 years ago

  • Resolutionfixed
  • Status newclosed

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

#5 @netweb
9 years ago

  • Milestone Future Release

#6 @SergeyBiryukov
6 years ago

  • Milestone4.8
Note: See TracTickets for help on using tickets.