- This topic has 11 replies, 3 voices, and was last updated 4 months, 3 weeks ago by
David.
-
AuthorPosts
-
October 28, 2022 at 1:35 pm #2392151
guevara
Please the errors below is showing up on my google page speed. Please Help
[aria-*] attributes do not match their roles
Failing Elements
Content
<header class=”entry-header” aria-label=”Content”>And
Links do not have a discernible name
Failing Elements
div.gb-container > div.gb-inside-container > div.gb-button-wrapper > a.gb-button
div.gb-container > div.gb-inside-container > div.gb-button-wrapper > a.gb-button
div.gb-container > div.gb-inside-container > div.gb-button-wrapper > a.gb-button
div.gb-container > div.gb-inside-container > div.gb-button-wrapper > a.gb-button
October 29, 2022 at 6:50 am #2392682David
StaffCustomer SupportHi there,
if you have icon only buttons such as the Social icons, then edit those buttons, and in the Advanced panel you have
ARIA Label
field where you can give the link a label.Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 29, 2022 at 11:31 am #2393263guevara
The error below is still showing up, the other bit is sorted –
Failing Elements
Content
<header class=”entry-header” aria-label=”Content”>October 30, 2022 at 5:08 am #2393748David
StaffCustomer SupportHow are you hiding the H1 Title on your home page ?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 30, 2022 at 9:53 am #2394242guevara
I am not hiding it, I used to use a different generatepress theme in the past and as I recall I had issues with having 2 H1 titles and I recall support helped me out with that issue. I have been on the homepage and the disable elements – content title is not ticked.
October 30, 2022 at 10:28 am #2394263guevara
Could it be this in the simple css ——
h1.entry-title {
display: none;
}.page .entry-content {
margin-top: 0 !important;
}October 30, 2022 at 12:27 pm #2394370Ying
StaffCustomer SupportYes, this CSS is hiding the h1 title, can you try removing it?
h1.entry-title { display: none; }
October 31, 2022 at 4:07 am #2394973guevara
When I remove it then the HI heading shows on the site and I want it hidden. Don’t want it showing on pages. Don’t want to disable either just to have it hidden.
October 31, 2022 at 4:15 am #2394989guevara
If I disable the H1 then it would hit my seo. I want it hidden not disabled.
October 31, 2022 at 6:13 am #2395127David
StaffCustomer SupportIf you temporarily remove this CSS:
h1.entry-title { display: none; }
So you can see the H1, then retest your site. Does the warning still show ?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 31, 2022 at 8:02 am #2395573guevara
When I remove the css the warning stops but then the H1 titles appear at the top of all my pages and posts which I really don’t want – it makes the site look unpleasant. When I try to disable it removes it all together and hits my seo because it’s not recognising that I have an H1 title.
October 31, 2022 at 8:30 am #2395632David
StaffCustomer SupportYou cannot have a
header
element without a visible heading inside it. It fails accessibility.I would suggest you:
1. disable the Content Title to remove the HTML.
2. edit the big heading you can see on your site and change that from a H2 to a H1.Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.