Skip to content

Commit 3a5f352

Browse files
committed
Acccessibility improve html structure
1 parent ecaf811 commit 3a5f352

File tree

1 file changed

+21
-20
lines changed

1 file changed

+21
-20
lines changed

index.html

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,11 @@
127127
padding-top: 0.9rem;
128128
width: 50%;
129129
}
130-
.info__text h3 {
130+
.info__first {
131131
font-weight: 400;
132132
font-size: 30px;
133133
}
134-
.info__text p {
134+
.info__community {
135135
font-size: 24px;
136136
padding-top: 1.2rem;
137137
color: #fc5969;
@@ -198,10 +198,10 @@
198198
.info__text {
199199
padding-top: 0;
200200
}
201-
.info__text h3 {
201+
.info__first {
202202
font-size: 26px;
203203
}
204-
.info__text p {
204+
.info__community {
205205
font-size: 20px;
206206
}
207207
.info__group {
@@ -284,10 +284,10 @@
284284
font-size: 18px;
285285
}
286286

287-
.info__text h3 {
287+
.info__first {
288288
font-size: 22px;
289289
}
290-
.info__text p {
290+
.info__community {
291291
font-size: 19px;
292292
}
293293
.github p {
@@ -339,7 +339,7 @@
339339
</a>
340340
</header>
341341
<main class="main">
342-
<div class="info container">
342+
<section class="info container">
343343
<div class="info__company">
344344
<img
345345
src="/assets/logo_mongo_modeler_dark_mode.svg"
@@ -352,12 +352,13 @@ <h1 class="info__claim">
352352
</h1>
353353
<div class="info__detail">
354354
<div class="info__text">
355-
<h3>
355+
<p class="info__first">
356356
Mongo Modeler is a <span class="highlight">free</span>, open
357357
source <span class="highlight">tool</span> for visualization of
358358
<span class="highlight">MongoDB</span> schema design
359-
</h3>
360-
<p>Community preview</p>
359+
</p>
360+
361+
<p class="info__community">Community preview</p>
361362
<div class="info__group">
362363
<a href="./editor.html" class="info__link"
363364
>Launch MongoDB Designer</a
@@ -374,17 +375,17 @@ <h3>
374375
></iframe>
375376
</div>
376377
</div>
377-
</div>
378-
<div class="github">
379-
<p class="container">
380-
Interested in suggesting a new feature or reporting a bug? Visit our
381-
project's Github page to make your contribution.
382-
<a href="https://github.com/Lemoncode/mongo-modeler" target="_blank"
383-
>Go to Github</a
384-
>
385-
</p>
386-
</div>
378+
</section>
387379
</main>
380+
<footer class="github">
381+
<p class="container">
382+
Interested in suggesting a new feature or reporting a bug? Visit our
383+
project's Github page to make your contribution.
384+
<a href="https://github.com/Lemoncode/mongo-modeler" target="_blank"
385+
>Go to Github</a
386+
>
387+
</p>
388+
</footer>
388389
<script>
389390
let installPrompt = null;
390391
const installButton = document.querySelector('#install');

0 commit comments

Comments
 (0)