Tagged: accessibility, css, entry-date, Link, redundant, title
- This topic has 9 replies, 3 voices, and was last updated 2 years, 5 months ago by
Skandha.
-
AuthorPosts
-
June 7, 2021 at 12:47 pm #283931
mzhd
ParticipantHallo,
because of accessibility I want to remove the links from page title and the date the content was published.
As the link to the site is also on the logo, I was successful remove redundant title link with additional css:
.site-title a { pointer-events: none; }
The next redundant link is under .entry-date published updated
I tried to code the css as same as above with this line:.entry-date published updated a { pointer-events: none; }
but this does not work.
Does someone know the css code for this? Thanks!
June 8, 2021 at 1:55 am #283957Skandha
Participant@mzhd: Hello there,
Go to => Appearance => Customize => Additional CSS and add the following CSS Code..entry-meta .posted-on { pointer-events: none; }
Let me know if this works out!
Kind Regards,
SkandhaJune 8, 2021 at 3:24 am #283961mzhd
ParticipantHallo Skandha,
YES, it works fine!
So maybe I can ask for next possibilities of changing some CSS in our theme …
Another change should be removing the link on ‘pngfix wp-post-image’
These are pics inside the highlighted content, that is activated in the theme settings. But with this option on, there are redundant links too (pic and text under it)
I want to remove the link on the pics.AND: The pics don’t have a ‘alt’ attribute! Only on the site where it is shown as content. Hope you understand what I want to say 🙂
Thanks in advance!
Peter
June 8, 2021 at 9:16 am #283974Skandha
Participant@mzhd: Hello Peter,
Can you please post in your site URL so that I can look into the issue?Kind Regards,
SkandhaJune 8, 2021 at 9:50 am #283976mzhd
ParticipantSite URL is mzhd.de
June 9, 2021 at 9:39 am #284120Skandha
Participant@mzhd: Hello Peter,
To remove the link from the images
Go to => Appearance => Customize => Additional CSS and add the following CSS Code..featured-homepage-image a { pointer-events: none; }
Can you please let me know on which images the alt attribute is not shown?
Let me know if this works out!
Kind Regards,
SkandhaJune 9, 2021 at 2:24 pm #284138mzhd
ParticipantHallo and thanks! The css works fine.
I miss the alt attribute on all four images!
I use to check it by right click on pic, examine and get the html code for the pic.
In this case there is no alt attribute at this pics on startpage.June 10, 2021 at 2:06 am #284166Skandha
Participant@mzhd: Hello Peter,
The alt attribute seems at my end when I check the theme. Can you please try deactivating all the plugins and check if the alt attribute shows up?Kind Regards,
SkandhaJune 14, 2021 at 1:13 am #284388mzhd
ParticipantHello Skandha,
at the moment I check the site with this tool: https://wave.webaim.org/report#/https://www.mzhd.de/
As you can see in the detailed results, there are 8 errors, four of them concerning the alt problem:4 X Linked image missing alternative text
So I think, you checked something else. Maybe with this post you see what I want to describe?
Thanks in advance!
—answer—Greets
PeterJune 14, 2021 at 6:46 am #284411 -
AuthorPosts
- The topic ‘Remove Link on entry-date published updated’ is closed to new replies.