plone / Products.CMFPlone

The core of the Plone content management system
https://plone.org
GNU General Public License v2.0
240 stars 183 forks source link

Empty <a> tag in @@search results page for results that do NOT have an icon/image. #3919

Closed ewohnlich closed 3 months ago

ewohnlich commented 4 months ago

Search results (@@search) that do NOT contain an icon/image have an empty tag

image

There is a condition on the tag inside that tal:condition="python: show_images and hasIcon". We should just move this condition up to the parent instead. This probably only matters if using a screen reader.

Plone 6.0.10