? ? ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
6 Nov 2020

Continues the work of #31318 and #31323 by correcting the behaviour of the alt text and changing the strings to match the work done in #31318

Background

To read why this change is very important see #31318

Testing Part 1

Testing is really easy. No npm, js or css involved.
Merge the pull request and then create a content category and a contact category and add an image

image

Testing Part 2

Please test three scenarios when adding an image for a menu item of Content Category Blog, Content Category List, Contact Category

  1. Image Description (Alt Text) = Empty
    No Description = unchecked

  2. Image Description (Alt Text) = "some description"
    No Description = unchecked

  3. Image Description (Alt Text) = Empty
    No Description = checked

The expected behaviour for each of these tests is

1.<img src="filename.jpg">
2. <img src="filename.jpg" alt="some description">
3. <img src="filename.jpg" alt >
or <img src="filename.jpg" alt="">

PLEASE do not comment on what you think the code does but apply the PR and test it. Getting very tired of people blocking PR with their comments without actually testing the code.

cc @carcam

avatar brianteeman brianteeman - open - 6 Nov 2020
avatar brianteeman brianteeman - change - 6 Nov 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 6 Nov 2020
Category Administration com_categories Language & Strings Front End com_content Layout
avatar brianteeman brianteeman - change - 6 Nov 2020
Labels Added: ? ?
avatar infograf768 infograf768 - test_item - 7 Nov 2020 - Tested successfully
avatar infograf768
infograf768 - comment - 7 Nov 2020

I have tested this item successfully on 206c859


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31326.

avatar priyankaSahutekdi priyankaSahutekdi - test_item - 7 Nov 2020 - Tested successfully
avatar priyankaSahutekdi
priyankaSahutekdi - comment - 7 Nov 2020

I have tested this item successfully on 206c859


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31326.

avatar alikon alikon - change - 7 Nov 2020
Status Pending Ready to Commit
avatar alikon
alikon - comment - 7 Nov 2020

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31326.

avatar alikon
alikon - comment - 7 Nov 2020

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31326.

avatar ceford
ceford - comment - 7 Nov 2020

The **loading="lazy" ** is absent. Is that due to copy/paste instructions? Can you tell us under what conditions alt appears without =""?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31326.

avatar brianteeman brianteeman - change - 7 Nov 2020
The description was changed
avatar brianteeman brianteeman - edited - 7 Nov 2020
avatar brianteeman
brianteeman - comment - 7 Nov 2020

Fixed the copy/paste error

Can you tell us under what conditions alt appears without =""
Basically if it is alt="" then some browsers when you inspect instead of view source abbreviate alt="" to alt

avatar richard67 richard67 - change - 14 Nov 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-11-14 13:54:06
Closed_By richard67
Labels Added: ?
avatar richard67 richard67 - close - 14 Nov 2020
avatar richard67 richard67 - merge - 14 Nov 2020
avatar richard67
richard67 - comment - 14 Nov 2020

Thanks!

avatar brianteeman
brianteeman - comment - 14 Nov 2020

thx

Add a Comment

Login with GitHub to post a comment