From 49bb25753c1684f124b0181972c3464b014172eb Mon Sep 17 00:00:00 2001
From: ghzhost
Date: Fri, 21 Aug 2026 14:59:12 +0000
Subject: [PATCH] fix(a11y): add intermediate h2 headings and descriptive
aria-labels for buttons (#280, #281, #282)
---
src/app/issues/page.tsx | 1 +
src/app/milestones/MilestoneActions.tsx | 32 +++++++++++++++++++++----
src/app/milestones/page.tsx | 5 ++--
3 files changed, 32 insertions(+), 6 deletions(-)
diff --git a/src/app/issues/page.tsx b/src/app/issues/page.tsx
index ed1e81d..1c94c70 100644
--- a/src/app/issues/page.tsx
+++ b/src/app/issues/page.tsx
@@ -24,6 +24,7 @@ export default async function IssuesPage() {
moment it's merged.
+ Bounties list
{bounties.map((bounty) => (
diff --git a/src/app/milestones/MilestoneActions.tsx b/src/app/milestones/MilestoneActions.tsx
index 70c4303..d6d946c 100644
--- a/src/app/milestones/MilestoneActions.tsx
+++ b/src/app/milestones/MilestoneActions.tsx
@@ -6,7 +6,13 @@ import { Button } from "@/components/ui/Button";
import { useWallet } from "@/context/WalletContext";
import { apiPost, ApiRequestError } from "@/lib/api";
-export function MilestoneFundButton({ milestoneId }: { milestoneId: string }) {
+export function MilestoneFundButton({
+ milestoneId,
+ milestoneName,
+}: {
+ milestoneId: string;
+ milestoneName?: string;
+}) {
const router = useRouter();
const { address, connect, connecting } = useWallet();
const [pending, setPending] = useState(false);
@@ -34,7 +40,13 @@ export function MilestoneFundButton({ milestoneId }: { milestoneId: string }) {
return (
-
))}