Skip to content

Commit efdbb82

Browse files
committed
fix accessibility errors
Update .frontmatter_check to check the `_posts` directory Moves the script to change the title for join_us.html at the end of the section Adds the layout to the baovola post
1 parent 82f3f45 commit efdbb82

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

.frontmatter_check.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Pattern-specific rules
22
patterns:
33
- name: "Global Defaults"
4-
pattern: "blog./*.md" # match ALL `.md` files
4+
pattern: "_posts./*.md" # match ALL `.md` files
55
rules:
66
- field_name: date
77
- field_name: description

_includes/join_us.html

+8-9
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,6 @@ <h2>Support Black Python Devs</h2>
2727
script.id = "commitchange-script";
2828
script.src = "https://us.commitchange.com/js/donate-button.v2.js";
2929

30-
script.onload = function () {
31-
const observer = new MutationObserver(function (mutations) {
32-
const iframe = document.querySelector(".commitchange-iframe-embedded");
33-
if (iframe && !iframe.hasAttribute("title")) {
34-
iframe.setAttribute("title", "Donation form for Black Python Devs");
35-
observer.disconnect(); // Stop observing once we've set the title
36-
}
37-
});
38-
3930
observer.observe(document.body, { childList: true, subtree: true });
4031
};
4132

@@ -85,3 +76,11 @@ <h3>Corporate Sponsors</h3>
8576
</div>
8677
</section>
8778
</div>
79+
<script>
80+
const observer = new MutationObserver(function (mutations) {
81+
const iframe = document.querySelector(".commitchange-iframe-embedded");
82+
if (iframe && !iframe.hasAttribute("title")) {
83+
iframe.setAttribute("title", "Donation form for Black Python Devs");
84+
observer.disconnect(); // Stop observing once we've set the title
85+
}
86+
</script>

_posts/2025-04-28-baovola-marie-anna-added-to-bpd-council.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: BAOVOLA Marie Anna Added to BPD Council
33
date: 2025-04-28
44
author: Jay Miller
5+
layout: post
6+
lang: en
57
description: The BPD Council has recognized the work of BAOVOLA Marie Anna and invited her to join the Council.
68
featured_image: /assets/images/baovola-jay-pg-day-chi-2025.webp
79
---

0 commit comments

Comments
 (0)