• Resolved webmestrefea

    (@webmestrefea)


    Hey everybody ☺.I encountered a problem with the accordion widget when validating with w3 standards. the error indicates that an element a cannot have a button child or with the attribute role=”button”. Can someone please help me solve this problem?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Denny Paul

    (@thetechxpert)

    Hello @webmestrefea,

    Thank you for contacting us.

    The role=”button” attribute has already been removed from the Accordion widget.

    Can you please provide a screenshot of the exact issue you are facing?

    Best Regards.

    Thread Starter webmestrefea

    (@webmestrefea)

    Here’s a screenshot showing the non-compliance with the HTML standard

    Thank you again for your support 🙏🏼

    • This reply was modified 2 years, 3 months ago by webmestrefea.
    Plugin Support Rica

    (@ricav)

    Hi @webmestrefea,

    Thank you for providing the screenshot.

    After conducting research, I have gathered the following information:

    It has been determined that this issue is not caused by Elementor.

    Here’s what we have found:
    This is a false positive and does not have any negative effect on functionality, performance, or SEO scores. You can safely ignore it. This widget uses tags to trigger the toggle of each accordion, and due to backward compatibility, we have no plans to change this behavior.

    Here’s what you can do to address your concern:
    If you require a semantically correct accordion, please enable the Nested Elements feature in your WordPress Dashboard > Elementor > Settings > Features page, and use the new (nested) Accordion widget. This widget will not trigger any warnings from the W3 validator.

    For reference: https://github.com/elementor/elementor/issues/25207

    I hope this information helps. Let me know if you need further assistance.

    Kind regards,

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Accordion problem with w3’ is closed to new replies.