No proper alt text for images and replacing of alt text in images in TinyMCE

Bug #1502371 reported by Kristina Hoeppner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Robert Lyon
15.04
Fix Released
High
Unassigned
15.10
Fix Released
High
Robert Lyon

Bug Description

Tested in 15.04 and 15.10

When an image is put into a text or note block via TinyMCE, the alt text is automatically set to the image's path. Even when you overwrite it in the HTML code, it is replaced with the image path upon saving.

<img src="https://yoururl/artefact/file/download.php?file=520&amp;embedded=1&amp;text=569296" alt="download.php?file=520&amp;embedded=1&amp;text=56">

It would be better if the alt text could be the image description or if it could be entered manually via the interface.

The alt text changing upon saving the HTML is a problem for accessibility.

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/5465

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/5465
Committed: https://git.nzoss.org.nz/mahara/mahara/commit/5edaff776e42a9389ca49ff48b77b01623b49507
Submitter: Son Nguyen (<email address hidden>)
Branch: master

commit 5edaff776e42a9389ca49ff48b77b01623b49507
Author: Robert Lyon <email address hidden>
Date: Tue Oct 6 17:41:00 2015 +1300

Bug 1502371: Allowing the tinymce to record alt text for an embedded image

based on either the description or the title of the image

behatnotneeded

Change-Id: I6deb362339ceeac29c6bb6425e853b120702ddae
Signed-off-by: Robert Lyon <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "15.10_STABLE" branch: https://reviews.mahara.org/5572

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/5572
Committed: https://git.nzoss.org.nz/mahara/mahara/commit/a380e693017ee804f272bc527052fe92bfe8db67
Submitter: Robert Lyon (<email address hidden>)
Branch: 15.10_STABLE

commit a380e693017ee804f272bc527052fe92bfe8db67
Author: Robert Lyon <email address hidden>
Date: Tue Oct 6 17:41:00 2015 +1300

Bug 1502371: Allowing the tinymce to record alt text for an embedded image

based on either the description or the title of the image

behatnotneeded

Change-Id: I6deb362339ceeac29c6bb6425e853b120702ddae
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit 5edaff776e42a9389ca49ff48b77b01623b49507)

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "15.04_STABLE" branch: https://reviews.mahara.org/5581

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/5581
Committed: https://git.nzoss.org.nz/mahara/mahara/commit/966ef9df7cc398fdfe693b998ce8f3c5850f0620
Submitter: Robert Lyon (<email address hidden>)
Branch: 15.04_STABLE

commit 966ef9df7cc398fdfe693b998ce8f3c5850f0620
Author: Robert Lyon <email address hidden>
Date: Tue Oct 6 17:41:00 2015 +1300

Bug 1502371: Allowing the tinymce to record alt text for an embedded image

based on either the description or the title of the image

behatnotneeded

Change-Id: I6deb362339ceeac29c6bb6425e853b120702ddae
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit 5edaff776e42a9389ca49ff48b77b01623b49507)

Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.