User tests: Successful: Unsuccessful:
Pull Request for Issue joomla/cassiopeia#121.
In Blog layouts the intro-image is a link if the param "llink-title" is set. This is an accessibility issue,
This PR removes the linked intro image.
In a blog entry select an into-image for an article.
Set the param "link-titles" in the menuItem to this blog.
The image is a link to the article, and the title is also a link to the article.
The image is not a link.
An alternative solution would be a new param "link_intro_image", but in this case linking the title must be excluded.
no
Status | New | ⇒ | Pending |
Category | ⇒ | Layout |
But this is definitely a valid solution as well
My 2c would be to have a link param with a default option of link_title and the second option of link_intro_image
This would mean you only have one link which satisfies the a11y rule on adjacent identical links.
Maybe a better solution.
There is another option if the aim is to make the image and the title both clickable and yet only a single link by borrowing some css from bootstrap
https://getbootstrap.com/docs/4.5/utilities/stretched-link/
Works quite well on my site
I have tested this item
By inserting the image here and applying the PR, it is not clickable
Confirmed
I have tested this item
The patch works as described but for me the image is in the wrong place! It is above the Article title and frankly not obviously part of it. I think it should be closer to the first paragraph like the full article image. It is styled as float-left but its container is full width. But I guess where the Intro image appears is a separate issue.
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-09-26 19:18:59 |
Closed_By | ⇒ | chmst | |
Labels |
Added:
?
?
|
Status | Closed | ⇒ | Pending |
Indeed we should re-think this. It tile is linked AND a readmore is added, then there are two links ... so re-opening this.
My 2c would be to have a link param with a default option of link_title and the second option of link_intro_image
This would mean you only have one link which satisfies the a11y rule on adjacent identical links.