Skip to content

fix(ui): add aria-labels to sidebar toggle/close buttons (#172) - #180

Merged
antosubash merged 1 commit into
mainfrom
fix/sidebar-a11y-labels-172
May 25, 2026
Merged

fix(ui): add aria-labels to sidebar toggle/close buttons (#172)#180
antosubash merged 1 commit into
mainfrom
fix/sidebar-a11y-labels-172

Conversation

@antosubash

Copy link
Copy Markdown
Owner

Summary

  • Added aria-label="Open sidebar" to the mobile hamburger toggle button
  • Added aria-label="Close sidebar" to the sidebar close button

Fixes #172

Test plan

  • Verify screen reader announces "Open sidebar" / "Close sidebar" for the buttons
  • Visual regression: no layout changes

The hamburger (open) and X (close) buttons in SidebarLayout had no
accessible names, making them invisible to screen readers. Add
aria-label="Open sidebar" and aria-label="Close sidebar" respectively.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying simple-module-python with  Cloudflare Pages  Cloudflare Pages

Latest commit: 84f8ecb
Status: ✅  Deploy successful!
Preview URL: https://a349fb67.simple-module-python.pages.dev
Branch Preview URL: https://fix-sidebar-a11y-labels-172.simple-module-python.pages.dev

View logs

@antosubash
antosubash merged commit feca2bd into main May 25, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sidebar toggle/close buttons missing accessible names (a11y)

1 participant