Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove role="main" from layout files #3271

Merged
merged 1 commit into from
Dec 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/layouts/blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
flattened page is created. --}}

{{> header}}
<main class="main-content" role="main">
<main class="main-content">
<section>
<div class="container">
<div class="container-inner contents-normal">
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<a class="skip-main" href="#main">Skip to main content</a>
{{> header}}

<main id="main" class="main-content" role="main" tabindex="-1">
<main id="main" class="main-content" tabindex="-1">
{{> body}}
</main>
{{#unless lang_de}}
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/error-pages.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
flattened page is created. --}}

{{> header-for-error-pages}}
<main class="main-content" role="main">
<main class="main-content">
{{> body}}
</main>
{{> footer language=global.lang.en}}
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/science.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
flattened page is created. --}}

{{> header}}
<main class="main-content" role="main">
<main class="main-content">
<section>
<div class="container">
<div class="container-inner contents-normal">
Expand Down