Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .frontmatter_check.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Pattern-specific rules
patterns:
- name: "Global Defaults"
pattern: "_posts./*.md" # match ALL `.md` files
pattern: "blog./*.md" # match ALL `.md` files
rules:
- field_name: date
- field_name: description
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/accessibility-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Accessibility Tests

on:
pull_request:
branches:
- gh-pages

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"

- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip install -r requirements.txt
pip install axe-core-python pytest playwright axe-playwright-python
- name: Install Playwright browsers
run: |
playwright install
- name: Run accessibility tests
run: |
python3 -m pytest tests/
Comment on lines +10 to +35

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
17 changes: 9 additions & 8 deletions _includes/join_us.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ <h2>Support Black Python Devs</h2>
script.id = "commitchange-script";
script.src = "https://us.commitchange.com/js/donate-button.v2.js";

script.onload = function () {
const observer = new MutationObserver(function (mutations) {
const iframe = document.querySelector(".commitchange-iframe-embedded");
if (iframe && !iframe.hasAttribute("title")) {
iframe.setAttribute("title", "Donation form for Black Python Devs");
observer.disconnect(); // Stop observing once we've set the title
}
});

observer.observe(document.body, { childList: true, subtree: true });
};

Expand Down Expand Up @@ -76,11 +85,3 @@ <h3>Corporate Sponsors</h3>
</div>
</section>
</div>
<script>
const observer = new MutationObserver(function (mutations) {
const iframe = document.querySelector(".commitchange-iframe-embedded");
if (iframe && !iframe.hasAttribute("title")) {
iframe.setAttribute("title", "Donation form for Black Python Devs");
observer.disconnect(); // Stop observing once we've set the title
}
</script>
2 changes: 0 additions & 2 deletions _posts/2025-04-28-baovola-marie-anna-added-to-bpd-council.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
title: BAOVOLA Marie Anna Added to BPD Council
date: 2025-04-28
author: Jay Miller
layout: post
lang: en
description: The BPD Council has recognized the work of BAOVOLA Marie Anna and invited her to join the Council.
featured_image: /assets/images/baovola-jay-pg-day-chi-2025.webp
---
Expand Down
Loading