Is there a reason there is no landmark added for “main”?
-
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?
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.