Skip to content

Commit 703824c

Browse files
committed
accessibility features added to help screen readers
1 parent df159df commit 703824c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

fetch/programmer-humour/index.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@
77
<link rel="stylesheet" href="styles.css" />
88
</head>
99
<body>
10-
<h1>Latest XKCD Comic</h1>
11-
<div id="comic-container">
12-
<p>Loading...</p>
13-
</div>
10+
<main>
11+
<h1>Latest XKCD Comic</h1>
12+
<div id="comic-container" aria-live="polite">
13+
<p class="loading">Loading…</p>
14+
</div>
15+
</main>
1416
<script src="script.js"></script>
1517
</body>
1618
</html>

0 commit comments

Comments
 (0)