← Back to team overview

mahara-contributors team mailing list archive

[Bug 1965704] [NEW] Allow accessibility CSS aria rules in text and don't strip them out via HTMLpurifier

 

Public bug reported:

Either tinyMCE or HTMLpurifier is stripping out aria rules around icon
visibility when they are added to tinyMCE.

For example, I'd like to be able to use:

Click the 'Edit block' icon &nbsp; <span class="icon icon-pencil-alt
icon-lg left" aria-hidden="true">&nbsp;</span> on the 'Plan' block.

But when saving a text block or instruction field, 'aria-hidden="true"'
is stripped out. Therefore, I can't indicate to screenreaders that they
shouldn't bother with the icon.

** Affects: mahara
     Importance: Medium
         Status: Confirmed


** Tags: accessibility

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1965704

Title:
  Allow accessibility CSS aria rules in text and don't strip them out
  via HTMLpurifier

Status in Mahara:
  Confirmed

Bug description:
  Either tinyMCE or HTMLpurifier is stripping out aria rules around icon
  visibility when they are added to tinyMCE.

  For example, I'd like to be able to use:

  Click the 'Edit block' icon &nbsp; <span class="icon icon-pencil-alt
  icon-lg left" aria-hidden="true">&nbsp;</span> on the 'Plan' block.

  But when saving a text block or instruction field, 'aria-
  hidden="true"' is stripped out. Therefore, I can't indicate to
  screenreaders that they shouldn't bother with the icon.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1965704/+subscriptions