Site logo

[Resolved] Failing Elements

Home Forums Support [Resolved] Failing Elements

Home Forums Support Failing Elements

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2420933
    inoruhana

    I would like to solve the issue of “[aria-*] attributes do not match their roles” which is shown in the PageSpeed Insights as the following Screenshot: https://ibb.co/SQh6rnF

    My site is: https://inoruhana.net/

    #2421272
    David
    Staff
    Customer Support

    Hi there,

    you have this CSS on your site:

    
    .entry-title, .main-nav ul li a {
        display:none
    }

    That CSS is hiding the entry-title which means the entry-header is empty which breaks ARIA rules.
    Do not use CSS to hide the title.
    Instead use a Layout Element to Disable the Content Title:

    https://docs.generatepress.com/article/layout-element-overview/

    #2421903
    inoruhana

    I got it.
    Thanks David.

    #2422636
    David
    Staff
    Customer Support

    Glad to be of help

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.