-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlandmarks-explicit-aria-role.html
executable file
·26 lines (26 loc) · 1.25 KB
/
landmarks-explicit-aria-role.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html>
<html lang="en">
<head>
<title>Landmark regions with explicit ARIA role</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<header role="banner">
<p>This is the banner region. The markup uses the HTML5 header element with an explicit ARIA role: <code><header role="banner"></code>.</p>
</header>
<nav role="navigation">
<p>This is the banner region. The markup uses the HTML5 nav element with an explicit ARIA role: <code><nav role="navigation"></code>.</p>
</nav>
<main role="main">
<h1>Landmark regions with explicit ARIA role</h1>
<p>This is the main region. The markup uses the HTML5 main element with an explicit ARIA role: <code><main role="main"></code>.</p>
</main>
<aside role="complementary">
<p>This is a complementary region. The markup uses the HTML5 aside element with an explicit ARIA role: <code><aside role="complementary"></code>.</p>
</aside>
<footer role="contentinfo">
<p>This is the contentinfo region. The markup uses the HTML5 footer element with an explicit ARIA role: <code><footer role="contentinfo"></code>.</p>
</footer>
</body>
</html>