Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✅ ♿ 🐞 Image elements have [alt] attributes that contain redundant text in the Post Info widget - [ED-14163] #25440

Closed
5 of 6 tasks
jlemonz opened this issue Mar 14, 2024 · 2 comments
Assignees
Labels
bug Indicates a bug with one or multiple components. component/code Indicates when a topic is related to a component’s code. mod* product/pro Indicates if the referenced component is part of the Elementor Pro plugin. product/3.21 [Temp.] References if an Issue or Discussion is part of Elementor (and Pro) v3.21. solved Indicates that an Issue has been Solved, or a Feature Request has been Released. status/merged Indicates when a Pull Request has been merged to a Release. type/accessibility Indicates when a topic is related to Accessibility. widget/post-info References the Post Info (Pro) widget and dynamic tag.
Milestone

Comments

@jlemonz
Copy link

jlemonz commented Mar 14, 2024

Prerequisites

  • I have searched for similar issues in open and closed tickets and cannot find a duplicate.
  • I have troubleshooted my issue, and it still exists against the latest stable version of Elementor.

Description

Hi, I use the post info widget with an author element and I select avatar in a loop item, but this gives error:

"Image elements have [alt] attributes that contain redundant text." In lighthouse.

I tried changing alt text etc but nothing worked.

Steps to reproduce

1 create loop item
2 use post widget with author with avatar
3 you can use gravatar or custom upload
4 check lighthouse

Expected behavior

no lighthouse errors

Isolating the problem

  • This bug happens when only the Elementor (and Elementor Pro) plugins are active.
  • This bug happens with the Hello Elementor theme active.
  • I can reproduce this bug consistently by following the steps I described above.

Elementor System Info

Click to reveal
== Server Environment ==
	Operating System: Linux
	Software: nginx/1.25.2
	MySQL version: mariadb.org binary distribution v10.11.5-MariaDB-1:10.11.5+maria~ubu2004
	PHP Version: 8.2.7
	PHP Memory Limit: 256M
	PHP Max Input Vars: 10000
	PHP Max Post Size: 128M
	GD Installed: Yes
	ZIP Installed: Yes
	Write Permissions: All right
	Elementor Library: Connected

== WordPress Environment ==
	Version: 6.4.3
	Site URL: https://smoothiesenzo.nl
	Home URL: https://smoothiesenzo.nl
	WP Multisite: No
	Max Upload Size: 128 MB
	Memory limit: 40M
	Max Memory limit: 256M
	Permalink Structure: /blog/%postname%/
	Language: nl_NL
	Timezone: 1
	Debug Mode: Inactive

== Theme ==
	Name: Hello Elementor Child
	Version: 1.0.1
	Author: Elementor Team
	Child Theme: Yes
	Parent Theme Name: Hello Elementor
	Parent Theme Version: 3.0.1
	Parent Theme Author: Elementor Team

== User ==
	Role: administrator
	WP Profile lang: nl-NL
	User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36

== Active Plugins ==
	Advanced Custom Fields
		Version: 6.2.7
		Author: WP Engine

	Advanced Database Cleaner
		Version: 3.1.4
		Author: Younes JFR.

	Anti-Spam by CleanTalk
		Version: 6.29
		Author: СleanTalk - Anti-Spam Protection <welcome@cleantalk.org>

	Autoptimize
		Version: 3.1.11
		Author: Frank Goossens (futtta)

	Complianz | GDPR/CCPA Cookie Consent
		Version: 7.0.4
		Author: Really Simple Plugins

	Confetti
		Version: 1.3.6
		Author: WP Sunshine

	Elementor
		Version: 3.20.1
		Author: Elementor.com

	Elementor Pro
		Version: 3.20.0
		Author: Elementor.com

	Email Log
		Version: 2.4.9
		Author: Sudar

	MailerSend - Official SMTP Integration
		Version: 1.0.3
		Author: MailerSend

	Performance Lab
		Version: 2.9.0
		Author: WordPress Performance Team

	ProfilePress
		Version: 4.15.3
		Author: ProfilePress Membership Team

	Rank Math SEO
		Version: 1.0.214
		Author: Rank Math

	Rank Math SEO PRO
		Version: 3.0.57
		Author: Rank Math

	Safe SVG
		Version: 2.2.2
		Author: 10up

	ShortPixel Image Optimizer
		Version: 5.5.5
		Author: ShortPixel - Convert WebP/AVIF & Optimize Images

	Site Kit by Google
		Version: 1.122.0
		Author: Google

	WPCode Lite
		Version: 2.1.9
		Author: WPCode


== Must-Use Plugins ==
	Kinsta Must-use Plugins
		Version: 3.0.1
		Author: Kinsta Team


== Eigenschappen ==
	Custom Fonts: 0
	Custom Icons: 0

== Integrations ==
	
	facebook_sdk: Active


== Elementor experimenten ==
	Verbeterd laden van assets: Actief
	Verbeterd laden van CSS: Actief
	Pictogrammen inline lettertype: Actief
	Extra aangepaste breakpoints: Actief
	admin_menu_rearrangement: Standaard inactief
	Flexbox container: Actief
	Upgrade Swiper bibliotheek: Actief
	Raster container: Actief
	Default to New Theme Builder: Standaard actief
	Hello Theme header & footer: Standaard inactief
	Editor top balk: Actief
	Geoptimaliseerd laden van Gutenberg: Actief
	Bouwen met AI: Standaard actief
	Landingspagina's: Standaard actief
	Geneste elementen: Actief
	Lazy-load achtergrondafbeeldingen: Actief
	Afbeelding laden optimaliseren: Actief
	Pagina's paneel: Standaard inactief
	Notes: Standaard actief
	Display Conditions: Actief
	Form Submissions: Standaard actief
	Menu: Actief
	Taxonomy Filter: Actief


== Log ==
	
Log: showing 20 of 342024-03-11 15:03:11 [info] Elementor data updater process has been queued. [array (
  'plugin' => 'Elementor Pro',
  'from' => '3.20.0-beta3',
  'to' => '3.20.0',
)]
2024-03-11 15:03:11 [info] elementor-pro::elementor_pro_updater Started 
2024-03-11 15:03:11 [info] Elementor Pro/Upgrades - _on_each_version Start  
2024-03-11 15:03:11 [info] Elementor Pro/Upgrades - _on_each_version Finished 
2024-03-11 15:03:11 [info] Elementor data updater process has been completed. [array (
  'plugin' => 'Elementor Pro',
  'from' => '3.20.0-beta3',
  'to' => '3.20.0',
)]
2024-03-11 15:03:11 [info] elementor::elementor_updater Started 
2024-03-11 15:03:11 [info] Elementor/Upgrades - _on_each_version Start  
2024-03-11 15:03:11 [info] Elementor/Upgrades - _on_each_version Finished 
2024-03-11 15:03:12 [info] Elementor/Upgrades - _on_each_version Finished 
2024-03-11 15:03:12 [info] Elementor data updater process has been completed. [array (
  'plugin' => 'Elementor',
  'from' => '3.20.0-beta3',
  'to' => '3.20.0-beta4',
)]
2024-03-11 15:03:12 [info] Elementor data updater process has been queued. [array (
  'plugin' => 'Elementor',
  'from' => '3.20.0-beta3',
  'to' => '3.20.0-beta4',
)]
2024-03-11 15:06:10 [info] elementor::elementor_updater Started 
2024-03-11 15:06:10 [info] Elementor/Upgrades - _on_each_version Start  
2024-03-11 15:06:10 [info] Elementor/Upgrades - _on_each_version Finished 
2024-03-11 15:06:10 [info] Elementor data updater process has been completed. [array (
  'plugin' => 'Elementor',
  'from' => '3.20.0-beta4',
  'to' => '3.20.0',
)]
2024-03-14 20:29:33 [info] Elementor data updater process has been queued. [array (
  'plugin' => 'Elementor',
  'from' => '3.20.0',
  'to' => '3.20.1',
)]
2024-03-14 20:29:33 [info] elementor::elementor_updater Started 
2024-03-14 20:29:33 [info] Elementor/Upgrades - _on_each_version Start  
2024-03-14 20:29:33 [info] Elementor/Upgrades - _on_each_version Finished 
2024-03-14 20:29:33 [info] Elementor data updater process has been completed. [array (
  'plugin' => 'Elementor',
  'from' => '3.20.0',
  'to' => '3.20.1',
)]

PHP: showing 5 of 5PHP: 2024-03-01 14:39:08 [notice X 71][../wp-content/plugins/elementor/includes/base/controls-stack.php::228] hexdec(): Passing null to parameter #1 ($hex_string) of type string is deprecated [array (
  'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2024-03-01 14:43:39 [warning X 1][../wp-content/plugins/elementor/modules/history/revisions-manager.php::363] Undefined array key "editor_post_id" [array (
  'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2024-03-04 18:42:36 [warning X 6][../wp-content/plugins/elementor/core/page-assets/data-managers/font-icon-svg/font-awesome.php::50] Trying to access array offset on value of type null [array (
  'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2024-03-11 15:03:11 [warning X 1][../wp-content/plugins/elementor/core/files/manager.php::111] unlink(../wp-content/uploads/elementor/css/post-9037.css): No such file or directory [array (
  'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2024-03-11 15:03:12 [warning X 1][../wp-content/plugins/elementor/core/files/uploads-manager.php::699] rmdir(../wp-content/uploads/elementor/tmp/): No such file or directory [array (
  'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]

JS: showing 3 of 3JS: 2024-03-01 13:45:48 [error X 1][../wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.19.4:3:647925] Cannot read properties of undefined (reading 'isDesignable') 
JS: 2024-03-06 17:50:29 [error X 6][../wp-content/plugins/elementor-pro/assets/js/elements-handlers.min.js?ver=3.20.0-beta3:2:17405] o.trigger is not a function 
JS: 2024-03-14 19:32:20 [error X 1][../wp-content/plugins/elementor/assets/js/packages/editor-documents/editor-documents.min.js?ver=3.20.1:1:1686] Cannot read properties of null (reading 'config') 



== Elementor - Compatibility Tag ==
	
	Elementor Pro: Compatibiliteit niet gespecificeerd

== Elementor Pro - Compatibility Tag ==

Agreement

  • I agree that my issue may be closed without action if it doesn't meet all the requirements.
@jlemonz jlemonz added the status/awaiting_triage Indicates when an Issue, Pull Request, or Discussion awaits to be triaged. label Mar 14, 2024
@nicholaszein nicholaszein changed the title Accessibility issue: Image elements have [alt] attributes that contain redundant text. In post info widget ♿ 🐞 Image elements have [alt] attributes that contain redundant text in the Post Info widget Mar 26, 2024
@nicholaszein nicholaszein added bug Indicates a bug with one or multiple components. product/pro Indicates if the referenced component is part of the Elementor Pro plugin. type/accessibility Indicates when a topic is related to Accessibility. widget/post-info References the Post Info (Pro) widget and dynamic tag. mod/e* mod/c* and removed status/awaiting_triage Indicates when an Issue, Pull Request, or Discussion awaits to be triaged. labels Mar 26, 2024
@nicholaszein
Copy link
Contributor

Hello @jlemonz!

Thank you for submitting your issue! 🙏

Please allow us some time to investigate it, and get back to you with our findings. 🧐

Also, keep in mind that both Page Speed Insights and Lighthouse reports are only a set of suggestions or highlights of opportunities to improve some aspects of the pages. It doesn't mean they point an error or a bug. Sometimes some suggestions will contradict other suggestions. In this case, if alt tags are removed, there is also a warning.

We will pass this to our accessibility experts and will let you know if this is indeed a bug, or simply a design choice. Thank you for understanding.

Kind regards

@nicholaszein nicholaszein added the component/code Indicates when a topic is related to a component’s code. label Mar 26, 2024
@rami-elementor rami-elementor self-assigned this Mar 26, 2024
@arielk arielk closed this as completed Mar 26, 2024
@nicholaszein nicholaszein changed the title ♿ 🐞 Image elements have [alt] attributes that contain redundant text in the Post Info widget ♿ 🐞 Image elements have [alt] attributes that contain redundant text in the Post Info widget - [ED-14163] Mar 28, 2024
@nicholaszein nicholaszein added this to the 3.21.0 milestone Mar 28, 2024
@nicholaszein nicholaszein added status/merged Indicates when a Pull Request has been merged to a Release. product/3.21 [Temp.] References if an Issue or Discussion is part of Elementor (and Pro) v3.21. labels Mar 28, 2024
@nicholaszein nicholaszein changed the title ♿ 🐞 Image elements have [alt] attributes that contain redundant text in the Post Info widget - [ED-14163] ✅ ♿ 🐞 Image elements have [alt] attributes that contain redundant text in the Post Info widget - [ED-14163] Apr 15, 2024
@nicholaszein nicholaszein added solved Indicates that an Issue has been Solved, or a Feature Request has been Released. mod* and removed mod/e* mod/c* labels Apr 15, 2024
@nicholaszein
Copy link
Contributor

Hello there @jlemonz!

We have great news! 🙌

📢 We're happy to announce that the issue you raised was resolved in Elementor Pro v3.21.0! 🥳

✅ Feel free to check it out and update your plugin to the new version!

Check the changelog for more information:
Changelog of Elementor and Elementor Pro

Cheers 🥂

@elementor elementor locked and limited conversation to collaborators Apr 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Indicates a bug with one or multiple components. component/code Indicates when a topic is related to a component’s code. mod* product/pro Indicates if the referenced component is part of the Elementor Pro plugin. product/3.21 [Temp.] References if an Issue or Discussion is part of Elementor (and Pro) v3.21. solved Indicates that an Issue has been Solved, or a Feature Request has been Released. status/merged Indicates when a Pull Request has been merged to a Release. type/accessibility Indicates when a topic is related to Accessibility. widget/post-info References the Post Info (Pro) widget and dynamic tag.
Projects
None yet
Development

No branches or pull requests

3 participants