Skip to content

Commit 821e4ab

Browse files
remove roles
1 parent 73e3528 commit 821e4ab

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

build/vnu-jar.mjs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,7 @@ execFile('java', ['-version'], (error, stdout, stderr) => {
4444
'Attribute “switch” not allowed on element “input” at this point.',
4545
'Element “style” not allowed as child of element “div” in this context.*',
4646
// Allow empty option in select
47-
'Element “option” without attribute “label” must not be empty.',
48-
// Several header / footer inside the documentation
49-
'The “banner” role is unnecessary for element “header”.',
50-
'The “contentinfo” role is unnecessary for element “footer”.'
47+
'Element “option” without attribute “label” must not be empty.'
5148
// End mod
5249
].join('|')
5350

site/src/assets/examples/download-app/index.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const aliases = [
3535
</symbol>
3636
</svg>
3737

38-
<header class="sticky-top" data-bs-theme="dark" role="banner">
38+
<header class="sticky-top" data-bs-theme="dark">
3939
<nav class="navbar navbar-expand-lg" aria-label="Global navigation of download app example page">
4040
<div class="container-fluid container-max-width">
4141
<div class="navbar-brand me-auto">
@@ -851,7 +851,7 @@ export const aliases = [
851851
</div>
852852
</main>
853853

854-
<footer class="footer navbar" data-bs-theme="dark" role="contentinfo">
854+
<footer class="footer navbar" data-bs-theme="dark">
855855
<h2 class="visually-hidden">Sitemap & information</h2>
856856
<div class="container-fluid container-max-width footer-terms">
857857
<ul class="navbar-nav gap-md-large">

site/src/components/footer/Footer.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const { layout } = Astro.props
1212
const { title } = Astro.props
1313
---
1414

15-
<footer role="contentinfo" class="footer navbar bd-footer" data-bs-theme="dark">
15+
<footer class="footer navbar bd-footer" data-bs-theme="dark">
1616
<h2 class="visually-hidden">Boosted sitemap & information</h2>
1717
<div class="container-fluid container-max-width footer-nav">
1818
<nav class="accordion" id="sitemapAccordion" aria-label="Boosted sitemap footer">

site/src/components/header/Navigation.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ interface Props {
1818
const { addedIn, layout, title } = Astro.props
1919
---
2020

21-
<header class="sticky-top bd-header" role="banner">
21+
<header class="sticky-top bd-header">
2222
<nav
2323
class="navbar navbar-expand supra d-none"
2424
data-bs-theme="dark"

0 commit comments

Comments
 (0)