Skip to content

Commit 61cef13

Browse files
authored
Merge pull request #41 from FriendsOfREDAXO/update-sa11y-4.0.0
Update sa11y to version 4.0.0
2 parents a405cdc + e926e52 commit 61cef13

File tree

248 files changed

+46255
-25861
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

248 files changed

+46255
-25861
lines changed

.sa11y_version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.2.3
1+
4.0.0

assets/vendor/sa11y/bookmarklet/apca.js

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

assets/vendor/sa11y/bookmarklet/dev.js

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

assets/vendor/sa11y/bookmarklet/v2-en.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.

assets/vendor/sa11y/bookmarklet/v2.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.

assets/vendor/sa11y/dist/css/control-panel.css

Lines changed: 35 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ audio {
222222
max-height: 400px;
223223
padding: 15px 20px 15px 15px;
224224
overflow-y: auto;
225+
line-height: 22px;
225226
color: var(--sa11y-panel-primary);
226227
border-bottom: 1px solid var(--sa11y-panel-bg-splitter);
227228
}
@@ -250,25 +251,38 @@ audio {
250251
border: 1px dashed var(--sa11y-panel-bg-splitter);
251252
border-radius: 5px;
252253
}
254+
.panel-alert-preview ul {
255+
position: relative;
256+
padding: 0;
257+
margin: 0;
258+
margin-block-end: 0;
259+
margin-block-start: 0;
260+
}
261+
.panel-alert-preview li {
262+
display: list-item;
263+
padding-bottom: 5px;
264+
margin: 5px 10px 0 20px;
265+
}
253266

254267
.element-preview {
255268
padding: 5px;
256269
margin-bottom: 10px;
257270
overflow-wrap: break-word;
258-
background-color: var(--sa11y-panel-badge);
271+
background-color: var(--sa11y-element-preview);
259272
border-radius: 3.2px;
260273
}
261274

262275
/* Dismiss button for issues */
263276
button[data-sa11y-dismiss] {
264-
display: block;
277+
display: inline-block;
265278
padding: 4px 8px;
266279
margin: 10px 5px 5px 0;
267280
color: var(--sa11y-panel-primary);
268281
cursor: pointer;
269282
background: var(--sa11y-panel-bg-secondary);
270283
border: 2px solid var(--sa11y-button-outline);
271284
border-radius: 5px;
285+
margin-inline-end: 15px;
272286
}
273287
button[data-sa11y-dismiss]:hover, button[data-sa11y-dismiss]:focus {
274288
background: var(--sa11y-shortcut-hover);
@@ -281,14 +295,15 @@ h2 {
281295
display: block;
282296
margin-bottom: 3px;
283297
font-size: var(--sa11y-large-text);
284-
font-weight: 600;
298+
font-weight: 700;
285299
}
286300

287301
strong {
288302
font-weight: 600;
289303
}
290304

291305
a:not(#outline-list a):not(.edit) {
306+
font-weight: 500;
292307
color: var(--sa11y-hyperlink);
293308
text-decoration: underline;
294309
cursor: pointer;
@@ -404,7 +419,7 @@ hr {
404419
mask: var(--sa11y-good-svg) center no-repeat;
405420
}
406421
#panel-content.warnings .panel-icon {
407-
background: var(--sa11y-warning-svg-color);
422+
background: var(--sa11y-yellow-text);
408423
transform: scaleX(var(--sa11y-icon-direction));
409424
-webkit-mask: var(--sa11y-warning-svg) center no-repeat;
410425
mask: var(--sa11y-warning-svg) center no-repeat;
@@ -633,7 +648,7 @@ hr {
633648
}
634649

635650
/* **************************************** */
636-
/* 11. Page & Image Outline extras */
651+
/* 11. Various icons */
637652
/* **************************************** */
638653
.error-icon {
639654
margin-bottom: -4px;
@@ -675,6 +690,14 @@ hr {
675690
background: var(--sa11y-panel-bg);
676691
}
677692

693+
.error .link-icon {
694+
background: var(--sa11y-error-text);
695+
}
696+
697+
.warning .link-icon {
698+
background: var(--sa11y-panel-bg);
699+
}
700+
678701
@media screen and (forced-colors: active) {
679702
.error-icon,
680703
.link-icon,
@@ -688,6 +711,7 @@ hr {
688711
#panel-controls {
689712
display: flex;
690713
overflow: hidden;
714+
border-bottom: 1px solid var(--sa11y-panel-bg-splitter);
691715
border-radius: 0 0 4px 4px;
692716
}
693717

@@ -707,7 +731,6 @@ hr {
707731
background: var(--sa11y-panel-bg-secondary);
708732
background-color: var(--sa11y-panel-bg-secondary);
709733
border-top: 1px solid var(--sa11y-panel-bg-splitter);
710-
border-bottom: 1px solid var(--sa11y-panel-bg-splitter);
711734
border-inline-end: 1px solid var(--sa11y-panel-bg-splitter);
712735
outline: 0;
713736
opacity: 1;
@@ -717,7 +740,7 @@ hr {
717740
background-color: var(--sa11y-shortcut-hover);
718741
}
719742
#panel-controls button.active {
720-
font-weight: 500;
743+
font-weight: 600;
721744
}
722745

723746
#export-results-mode,
@@ -1055,6 +1078,10 @@ label:not(#colour-filter-mode, #export-results-mode) {
10551078
all: unset;
10561079
}
10571080

1081+
#contrast-tools {
1082+
display: none;
1083+
}
1084+
10581085
/* ***************************************** */
10591086
/* 19. Scrollbar styling */
10601087
/* ***************************************** */
@@ -1143,7 +1170,7 @@ label:not(#colour-filter-mode, #export-results-mode) {
11431170
}
11441171

11451172
#container:lang(en) #panel {
1146-
width: 305px;
1173+
width: 315px;
11471174
}
11481175

11491176
#container:lang(nb) #panel,

assets/vendor/sa11y/dist/css/control-panel.min.css

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)