Skip to content

Error when checking the menu item - [image] field #3271

@4digitalworld

Description

@4digitalworld

While testing a site with the @gantry 5 template via @google PageSpeed Insights, I found the following errors related to the menu icon - image field.

изображение

  1. Image elements do not have explicit width and height
    изображение
    images in this field do not have width and height in the code.
    the same error for the Logo (custom image) particle code in my template.
  2. Image elements have [alt] attributes that are redundant text.
    изображение
    the image has the same alt text as the menu item (text field).
    I suggest making it possible to specify a different alt text for the menu item icon/image.

Joomla 5.1.4, Gantry 5.5.19

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions