• Resolved davidfry

    (@davidfry)


    It comes up as an error in the Axe accessibility checker that there is no role=”main” landmark for the main content.

    I was wondering if there is a reason for that? It looks like Divi doesn’t use a <main> tag and there is nothing with role=”main”.

    I resolved that issue by adding the following line to the plugin’s js:

    $(‘#main-content’).attr(‘role’, ‘main’);

    Any thoughts?

    • This topic was modified 5 years, 3 months ago by davidfry.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Is there a reason there is no landmark added for “main”?’ is closed to new replies.