You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem: Divi doesn't seem to output a <main> element nor give the option to add one. This means there is a header and footer landmark on the page but not one for the main content for screen reader users that navigate by landmark.
On a recent accessibility audit and remediation project for a Divi site, we were able to resolve this with the following code:
I'm fairly sure that will give a pretty universal fix to most sites using Divi, but I'm not actually a very experienced user, so I'd need others to test and confirm this fix.
Here was the result on our site:
The text was updated successfully, but these errors were encountered:
Problem: Divi doesn't seem to output a
<main>
element nor give the option to add one. This means there is aheader
andfooter
landmark on the page but not one for the main content for screen reader users that navigate by landmark.On a recent accessibility audit and remediation project for a Divi site, we were able to resolve this with the following code:
I'm fairly sure that will give a pretty universal fix to most sites using Divi, but I'm not actually a very experienced user, so I'd need others to test and confirm this fix.
Here was the result on our site:
The text was updated successfully, but these errors were encountered: