Christmas Review (Accessible Version)
By
December 18, 2024

Contents
<nav class="toc"> <h3>Contents</h3> <ul id="toc-list"></ul> </nav>
.toc {
font-family: sans-serif;
position: sticky;
top: 80px;
max-width: 300px;
}
.toc h3 {
font-weight: 700;
font-size: 1.1rem;
margin-bottom: 0.5rem;
}
.toc ul {
list-style: none;
padding: 0;
margin: 0;
}
.toc li {
margin-bottom: 0.75rem;
}
.toc a {
text-decoration: none;
color: #1a1a1a;
display: inline-block;
padding: 4px 8px;
border-radius: 4px;
transition: background 0.2s ease;
}
/* Hover state */
.toc a:hover {
text-decoration: none;
background-color: #f5f7ff;
color: #0070f3; /* blue hover text */
}
/* Active/selected state */
.toc a.active {
background-color: #f5f7ff;
font-weight: 600;
color: #f48024; /* orange highlight */
}
/* Active + hover */
.toc a.active:hover {
color: #f48024;
background-color: #f5f7ff;
}
document.addEventListener("DOMContentLoaded", () => {
const tocList = document.getElementById("toc-list");
const headings = document.querySelectorAll("h2");
headings.forEach((h2, index) => {
const id = h2.id || `section-${index}`;
h2.id = id;
const li = document.createElement("li");
const link = document.createElement("a");
link.href = `#${id}`;
link.textContent = h2.textContent;
li.appendChild(link);
tocList.appendChild(li);
});
// Scrollspy logic
const links = document.querySelectorAll(".toc a");
const observer = new IntersectionObserver(
(entries) => {
entries.forEach((entry) => {
const link = document.querySelector(`.toc a[href="#${entry.target.id}"]`);
if (entry.isIntersecting) {
links.forEach((l) => l.classList.remove("active"));
link.classList.add("active");
}
});
},
{
rootMargin: "-50% 0px -50% 0px",
threshold: 0
}
);
headings.forEach((h2) => observer.observe(h2));
});
Contents
<?php
$user = get_the_author_ID();
$pp = get_field('author_image', 'user_'.$user);
?>
<img src="<?php echo $pp;?>">
Follow Us
Get Updates from Miatta
Press releases

July 14, 2026
Stepping Down as Minister, Remaining Committed to Peckham
I want to reassure residents that although I have resigned as a Minister, I remain fully committed to serving our community as your local MP. Stepping back from government will allow me to focus even more on the issues facing our community and allows me to speak more openly about the change needed. Resigning from…
Read Full Article
July 14, 2026
Miatta Monthly – March 2026
I'm proud to represent Peckham as your MP, and I want to keep you updated on the work I'm doing
Read Full Article
July 14, 2026
Miatta Monthly – February 2026
There's no denying that this month has been tough for the Government and the Labour Party. However, I am very
Read Full Article