Skip to content

Commit 6df01aa

Browse files
authored
Merge pull request #165 from jackdomleo7/updates
2 parents 4ca27b2 + b4b11be commit 6df01aa

24 files changed

Lines changed: 1885 additions & 775 deletions

.github/workflows/pipeline.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
build:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v3
1616
- name: Install Node
17-
uses: actions/setup-node@v2
17+
uses: actions/setup-node@v3
1818
with:
19-
node-version: '16.x'
19+
node-version: '18.x'
2020
- name: Clean install npm dependencies
2121
run: npm ci
2222
- name: Check project can build successfully
@@ -28,8 +28,8 @@ jobs:
2828
tests:
2929
runs-on: ubuntu-latest
3030
steps:
31-
- uses: actions/checkout@v2
32-
- uses: cypress-io/github-action@v2
31+
- uses: actions/checkout@v3
32+
- uses: cypress-io/github-action@v3
3333
with:
3434
browser: chrome
3535
headless: true
@@ -39,11 +39,11 @@ jobs:
3939
if: github.ref == 'refs/heads/master'
4040
runs-on: ubuntu-latest
4141
steps:
42-
- uses: actions/checkout@v2
42+
- uses: actions/checkout@v3
4343
- name: Install Node
44-
uses: actions/setup-node@v2
44+
uses: actions/setup-node@v3
4545
with:
46-
node-version: '16.x'
46+
node-version: '18.x'
4747
- name: Clean install npm dependencies
4848
run: npm ci
4949
- name: Publish to npm

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v18

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020 Jack Domleo
3+
Copyright (c) 2020-present Jack Domleo
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ Checka11y.css is licensed under MIT. As a minimum, you are required to KEEP AND
185185

186186
## Contributing
187187

188-
_This project uses npm ≥ 8 and Node ≥ 16 - however any project using this package **does not** need these versions, they can use any version of npm & Node._
188+
_This project uses npm ≥ 8 and Node ≥ 18 - however any project using this package **does not** need these versions, they can use any version of npm & Node._
189189

190190
1. Read [CONTRIBUTING](./CONTRIBUTING.md) guidelines
191191
2. `git clone https://github.com/jackdomleo7/Checka11y.css.git` or fork the repo

checka11y-errors.css

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/*! Checka11y.css v2.3.1 | MIT License | github.com/jackdomleo7/Checka11y.css */
12
:root {
23
--checka11y-text-error: #721c24;
34
--checka11y-bg-error: #ffc6c6;
@@ -156,7 +157,7 @@ button video[controls] {
156157
padding-bottom: 80px;
157158
}
158159

159-
button:not([aria-label]):not([aria-labelledby]):empty::after {
160+
button:not([aria-label], [aria-labelledby]):empty::after {
160161
display: block;
161162
font-size: 1rem;
162163
font-family: verdana, geneva, tahoma, sans-serif;
@@ -174,7 +175,7 @@ button:not([aria-label]):not([aria-labelledby]):empty::after {
174175
background-color: var(--checka11y-bg-error);
175176
}
176177

177-
[dir]:not([dir=rtl]):not([dir=ltr]):not([dir=auto])::after {
178+
[dir]:not([dir=rtl], [dir=ltr], [dir=auto])::after {
178179
display: block;
179180
font-size: 1rem;
180181
font-family: verdana, geneva, tahoma, sans-serif;
@@ -494,7 +495,7 @@ a video[controls] {
494495
padding-bottom: 80px;
495496
}
496497

497-
a[href]:not([aria-label]):not([aria-labelledby]):empty::after {
498+
a[href]:not([aria-label], [aria-labelledby]):empty::after {
498499
display: block;
499500
font-size: 1rem;
500501
font-family: verdana, geneva, tahoma, sans-serif;
@@ -512,7 +513,7 @@ a[href]:not([aria-label]):not([aria-labelledby]):empty::after {
512513
background-color: var(--checka11y-bg-error);
513514
}
514515

515-
dl > *:not(dt):not(dd)::after {
516+
dl > *:not(dt, dd)::after {
516517
display: block;
517518
font-size: 1rem;
518519
font-family: verdana, geneva, tahoma, sans-serif;
@@ -530,7 +531,7 @@ dl > *:not(dt):not(dd)::after {
530531
background-color: var(--checka11y-bg-error);
531532
}
532533

533-
ol > *:not(li):not(script):not(template)::after, ul > *:not(li):not(script):not(template)::after {
534+
ol > *:not(li, script, template)::after, ul > *:not(li, script, template)::after {
534535
display: block;
535536
font-size: 1rem;
536537
font-family: verdana, geneva, tahoma, sans-serif;
@@ -548,7 +549,7 @@ ol > *:not(li):not(script):not(template)::after, ul > *:not(li):not(script):not(
548549
background-color: var(--checka11y-bg-error);
549550
}
550551

551-
nav:not([aria-label]):not([aria-labelledby]) ~ nav::after, nav ~ nav:not([aria-label]):not([aria-labelledby])::after {
552+
nav:not([aria-label], [aria-labelledby]) ~ nav::after, nav ~ nav:not([aria-label], [aria-labelledby])::after {
552553
display: block;
553554
font-size: 1rem;
554555
font-family: verdana, geneva, tahoma, sans-serif;
@@ -578,7 +579,7 @@ a[href][tabindex="-1"]::after {
578579
text-decoration: none;
579580
text-transform: initial;
580581
text-shadow: none;
581-
content: "ERROR (E0014): Ensure that <a> with an href attribute does not have a tab index of -1." !important;
582+
content: "ERROR (E0014): Ensure that <a> with an href attribute does not have a tab index of -1." !important;
582583
color: var(--checka11y-text-error);
583584
border: 0.4rem solid var(--checka11y-border-error);
584585
background-color: var(--checka11y-bg-error);
@@ -636,7 +637,7 @@ button:not([disabled])[tabindex="-1"]::after {
636637
text-decoration: none;
637638
text-transform: initial;
638639
text-shadow: none;
639-
content: "ERROR (E0014): Ensure that &lt;button&gt; that is not disabled does not have a tab index of -1." !important;
640+
content: "ERROR (E0014): Ensure that <button> that is not disabled does not have a tab index of -1." !important;
640641
color: var(--checka11y-text-error);
641642
border: 0.4rem solid var(--checka11y-border-error);
642643
background-color: var(--checka11y-bg-error);

checka11y-errors.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.

checka11y-warnings.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Checka11y.css v2.3.0 | MIT License | github.com/jackdomleo7/Checka11y.css */
1+
/*! Checka11y.css v2.3.1 | MIT License | github.com/jackdomleo7/Checka11y.css */
22
:root {
33
--checka11y-text-warning: #856404;
44
--checka11y-bg-warning: #ffffd8;
@@ -69,7 +69,7 @@
6969
padding-bottom: 80px;
7070
}
7171

72-
[onclick]:not(a):not(button):not([onkeydown]):not([onkeyup]):not([onkeypress])::after, [onclick][onkeyup]:not([tabindex]):not(a):not(button)::after, [onclick][onkeyup][tabindex="-1"]:not(a):not(button)::after, [onclick][onkeydown]:not([tabindex]):not(a):not(button)::after, [onclick][onkeydown][tabindex="-1"]:not(a):not(button)::after, [onclick][onkeypress]:not([tabindex]):not(a):not(button)::after, [onclick][onkeypress][tabindex="-1"]:not(a):not(button)::after, [ondblclick]:not(a):not(button):not([onkeydown]):not([onkeyup]):not([onkeypress])::after, [ondblclick][onkeyup]:not([tabindex]):not(a):not(button)::after, [ondblclick][onkeyup][tabindex="-1"]:not(a):not(button)::after, [ondblclick][onkeydown]:not([tabindex]):not(a):not(button)::after, [ondblclick][onkeydown][tabindex="-1"]:not(a):not(button)::after, [ondblclick][onkeypress]:not([tabindex]):not(a):not(button)::after, [ondblclick][onkeypress][tabindex="-1"]:not(a):not(button)::after, [onmousedown]:not(a):not(button):not([onkeydown]):not([onkeyup]):not([onkeypress])::after, [onmousedown][onkeyup]:not([tabindex]):not(a):not(button)::after, [onmousedown][onkeyup][tabindex="-1"]:not(a):not(button)::after, [onmousedown][onkeydown]:not([tabindex]):not(a):not(button)::after, [onmousedown][onkeydown][tabindex="-1"]:not(a):not(button)::after, [onmousedown][onkeypress]:not([tabindex]):not(a):not(button)::after, [onmousedown][onkeypress][tabindex="-1"]:not(a):not(button)::after, [onmouseup]:not(a):not(button):not([onkeydown]):not([onkeyup]):not([onkeypress])::after, [onmouseup][onkeyup]:not([tabindex]):not(a):not(button)::after, [onmouseup][onkeyup][tabindex="-1"]:not(a):not(button)::after, [onmouseup][onkeydown]:not([tabindex]):not(a):not(button)::after, [onmouseup][onkeydown][tabindex="-1"]:not(a):not(button)::after, [onmouseup][onkeypress]:not([tabindex]):not(a):not(button)::after, [onmouseup][onkeypress][tabindex="-1"]:not(a):not(button)::after, [onmouseover]:not(a):not(button)::after, [onmouseenter]:not(a):not(button)::after, [onmouseleave]:not(a):not(button)::after {
72+
[onclick]:not(a, button, [onkeydown], [onkeyup], [onkeypress])::after, [onclick][onkeyup]:not([tabindex], a, button)::after, [onclick][onkeyup][tabindex="-1"]:not(a, button)::after, [onclick][onkeydown]:not([tabindex], a, button)::after, [onclick][onkeydown][tabindex="-1"]:not(a, button)::after, [onclick][onkeypress]:not([tabindex], a, button)::after, [onclick][onkeypress][tabindex="-1"]:not(a, button)::after, [ondblclick]:not(a, button, [onkeydown], [onkeyup], [onkeypress])::after, [ondblclick][onkeyup]:not([tabindex], a, button)::after, [ondblclick][onkeyup][tabindex="-1"]:not(a, button)::after, [ondblclick][onkeydown]:not([tabindex], a, button)::after, [ondblclick][onkeydown][tabindex="-1"]:not(a, button)::after, [ondblclick][onkeypress]:not([tabindex], a, button)::after, [ondblclick][onkeypress][tabindex="-1"]:not(a, button)::after, [onmousedown]:not(a, button, [onkeydown], [onkeyup], [onkeypress])::after, [onmousedown][onkeyup]:not([tabindex], a, button)::after, [onmousedown][onkeyup][tabindex="-1"]:not(a, button)::after, [onmousedown][onkeydown]:not([tabindex], a, button)::after, [onmousedown][onkeydown][tabindex="-1"]:not(a, button)::after, [onmousedown][onkeypress]:not([tabindex], a, button)::after, [onmousedown][onkeypress][tabindex="-1"]:not(a, button)::after, [onmouseup]:not(a, button, [onkeydown], [onkeyup], [onkeypress])::after, [onmouseup][onkeyup]:not([tabindex], a, button)::after, [onmouseup][onkeyup][tabindex="-1"]:not(a, button)::after, [onmouseup][onkeydown]:not([tabindex], a, button)::after, [onmouseup][onkeydown][tabindex="-1"]:not(a, button)::after, [onmouseup][onkeypress]:not([tabindex], a, button)::after, [onmouseup][onkeypress][tabindex="-1"]:not(a, button)::after, [onmouseover]:not(a, button)::after, [onmouseenter]:not(a, button)::after, [onmouseleave]:not(a, button)::after {
7373
display: block;
7474
font-size: 1rem;
7575
font-family: verdana, geneva, tahoma, sans-serif;

0 commit comments

Comments
 (0)