Skip to content

Comments

[4.0] Atum logo and login image alt [a11y]#31349

Merged
chmst merged 1 commit intojoomla:4.0-devfrom
brianteeman:atum
Nov 10, 2020
Merged

[4.0] Atum logo and login image alt [a11y]#31349
chmst merged 1 commit intojoomla:4.0-devfrom
brianteeman:atum

Conversation

@brianteeman
Copy link
Contributor

This PR applies the ALT text changes from #31318

In addition the related fields are now correctly grouped in a fieldset

Any comments about the layout will be ignored as that's an unrelated issue which we have a release blocker for

Testing

Testing is really easy. No npm, js or css involved.
Merge the pull request and then go to edit the atum template style and go to the image settings tab

You now have a new field and tweaked text

Please test three scenarios when adding a large log, a small logo and a login image

  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

This PR applies the ALT text changes from joomla#31318

In addition the related fields are now correctly grouped in a fieldset

**Any comments about the layout will be ignored as that's an unrelated issue which we have a release blocker for**

Testing
Testing is really easy. No npm, js or css involved.
Merge the pull request and then go to edit an article on both the admin and site. For the site you might need to enable the frontend images and urls option in the component.

You now have a new field and tweaked text

Please test three scenarios when adding an intro image

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

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

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

The expected behaviour for each of these tests is

<img loading="lazy" src="filename.jpg" itemprop="thumbnailUrl">
<img loading="lazy" src="filename.jpg" alt="some description" itemprop="thumbnailUrl">
<img loading="lazy" src="filename.jpg" alt itemprop="thumbnailUrl">
or <img loading="lazy" src="filename.jpg" alt="" itemprop="thumbnailUrl">
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.
@joomla-cms-bot joomla-cms-bot added Language Change This is for Translators PR-4.0-dev labels Nov 7, 2020
@adj9
Copy link

adj9 commented Nov 7, 2020

I have tested this item ✅ successfully on b7f157c


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

1 similar comment
@ChristineWk
Copy link

I have tested this item ✅ successfully on b7f157c


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

@richard67 richard67 removed Language Change This is for Translators PR-4.0-dev labels Nov 8, 2020
@richard67
Copy link
Member

RTC


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

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Nov 8, 2020
@richard67 richard67 added Language Change This is for Translators PR-4.0-dev labels Nov 8, 2020
@chmst chmst added this to the Joomla 4.0 milestone Nov 10, 2020
@chmst chmst merged commit affd531 into joomla:4.0-dev Nov 10, 2020
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Nov 10, 2020
@chmst
Copy link
Contributor

chmst commented Nov 10, 2020

Thanks!

@brianteeman
Copy link
Contributor Author

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Language Change This is for Translators

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants