Skip to content

added method to reattach labels to their corresponding tinymce iframe - #2333

Merged
raycarrick-ed merged 1 commit into
developmentfrom
issue1449
Dec 18, 2019
Merged

added method to reattach labels to their corresponding tinymce iframe#2333
raycarrick-ed merged 1 commit into
developmentfrom
issue1449

Conversation

@briri

@briri briri commented Dec 17, 2019

Copy link
Copy Markdown
Contributor

Fixes #1449.

Changes proposed in this PR:

  • Extended the app/javascript/utils/tinymce.js file so that it reconnects labels to the Tinymce iframe after it has initialized.

To test (without a screen reader), inspect the html on any page with Tinymce editors and look for the label (question text in the case of a plan's answers) and make sure that the for attribute lists the id of the corresponding tinymce iframe element

@raycarrick-ed raycarrick-ed left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked on a number of different plans and all seemed to have the correct "for" attribute. So looks good.

@raycarrick-ed
raycarrick-ed merged commit 6c3d634 into development Dec 18, 2019
@raycarrick-ed
raycarrick-ed deleted the issue1449 branch December 18, 2019 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants