Skip to content

Commit 95d0b10

Browse files
committed
Fix a11y bugs
1 parent 29f5d38 commit 95d0b10

2 files changed

Lines changed: 35 additions & 30 deletions

File tree

‎Static/index.html‎

Lines changed: 34 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -29,36 +29,36 @@
2929
z-index: -2
3030
}
3131

32-
a.m-skip-to-main:hover {
33-
left: -999px;
34-
position: absolute;
35-
top: auto;
36-
width: 1px;
37-
height: 1px;
38-
overflow: hidden;
39-
z-index: -2
40-
}
32+
a.m-skip-to-main:hover {
33+
left: -999px;
34+
position: absolute;
35+
top: auto;
36+
width: 1px;
37+
height: 1px;
38+
overflow: hidden;
39+
z-index: -2
40+
}
4141

42-
a.m-skip-to-main:focus, a.m-skip-to-main:active {
43-
background: #e6e6e6;
44-
color: #0067b8;
45-
position: fixed;
46-
top: 0;
47-
left: 0;
48-
padding: 24px;
49-
width: auto;
50-
height: auto;
51-
overflow: auto;
52-
right: 0;
53-
text-decoration: underline;
54-
text-align: center;
55-
z-index: 800;
56-
outline: none
57-
}
42+
a.m-skip-to-main:focus, a.m-skip-to-main:active {
43+
background: #e6e6e6;
44+
color: #0067b8;
45+
position: fixed;
46+
top: 0;
47+
left: 0;
48+
padding: 24px;
49+
width: auto;
50+
height: auto;
51+
overflow: auto;
52+
right: 0;
53+
text-decoration: underline;
54+
text-align: center;
55+
z-index: 800;
56+
outline: none
57+
}
5858

59-
a.m-skip-to-main:focus {
60-
border: 1px dashed #000
61-
}
59+
a.m-skip-to-main:focus {
60+
border: 1px dashed #000
61+
}
6262

6363
@media (max-width: 575.98px) {
6464
.carousel-caption {
@@ -78,6 +78,11 @@
7878
margin-bottom: 0.2rem !important;
7979
}
8080
}
81+
82+
.form-control:focus-visible {
83+
outline-style: solid;
84+
outline-width: .125rem;
85+
}
8186
</style>
8287
</head>
8388
<body onload="Start()" class="d-flex flex-column h-100">
@@ -150,7 +155,7 @@
150155
<div class="container px-4 py-5">
151156
<div class="row flex-lg-row-reverse row-cols-lg-2 row-cols-xl-2 align-items-center g-5 py-5 row-cols-1">
152157
<div class="col">
153-
<div id="carouselIndicators" class="carousel slide border rounded-3 shadow-lg slide" data-bs-ride="carousel" >
158+
<div id="carouselIndicators" class="carousel slide border rounded-3 shadow-lg slide" data-bs-ride="carousel" data-bs-interval="false" >
154159
<div class="carousel-indicators">
155160
<button type="button" data-bs-target="#carouselIndicators" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Store Locator" ></button>
156161
<button type="button" data-bs-target="#carouselIndicators" data-bs-slide-to="1" aria-label="3D Layer" ></button>

‎Static/samples.min.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)