Skip to content

Commit 3469d51

Browse files
Merge pull request #343 from coding-for-reproducible-research/accessibility_patches
Accessibility Patches
2 parents 1d15f64 + 0944e27 commit 3469d51

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

.github/workflows/accessibility.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
image: mcr.microsoft.com/playwright:v1.42.1-jammy # includes Chromium, Node, and tools
1111
steps:
1212
- uses: actions/checkout@v3
13+
with:
14+
fetch-depth: 0
1315

1416
- name: Set up Python 3.11
1517
uses: actions/setup-python@v4
@@ -61,7 +63,7 @@ jobs:
6163
echo "[" > pa11y_targets.json
6264
first=true
6365
64-
git fetch origin ${{ github.base_ref }}
66+
git fetch --no-tags --prune --progress --depth=100 origin ${{ github.base_ref }}
6567
git diff --name-only origin/${{ github.base_ref }}...HEAD | grep -E "\.md$|\.ipynb$" > changed_files.txt || true
6668
echo "Changed source files:"
6769
cat changed_files.txt || echo "None"

short_courses/r_environments.ipynb

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"\n",
99
"```{card}\n",
1010
"\n",
11-
"<div class=\"alert alert-block alert-info\">\n",
11+
"<div class=\"alert alert-block\" style=\"background-color: #f2f2f2;\">\n",
1212
"\n",
1313
"**Author:** Amy Heather (GitHub: [amyheather](https://github.com/amyheather), ORCID: [0000-0002-6596-3479](https://orcid.org/0000-0002-6596-3479)).\n",
1414
"\n",
@@ -635,10 +635,24 @@
635635
}
636636
],
637637
"metadata": {
638+
"kernelspec": {
639+
"display_name": "Python 3 (ipykernel)",
640+
"language": "python",
641+
"name": "python3"
642+
},
638643
"language_info": {
639-
"name": "python"
644+
"codemirror_mode": {
645+
"name": "ipython",
646+
"version": 3
647+
},
648+
"file_extension": ".py",
649+
"mimetype": "text/x-python",
650+
"name": "python",
651+
"nbconvert_exporter": "python",
652+
"pygments_lexer": "ipython3",
653+
"version": "3.9.19"
640654
}
641655
},
642656
"nbformat": 4,
643-
"nbformat_minor": 2
657+
"nbformat_minor": 4
644658
}

0 commit comments

Comments
 (0)