Skip to content

🎨 Palette: Add aria-label and title to markdown TOC button#539

Open
VaiTon wants to merge 2 commits into
mainfrom
palette-ux-improvement-16030115900182998324
Open

🎨 Palette: Add aria-label and title to markdown TOC button#539
VaiTon wants to merge 2 commits into
mainfrom
palette-ux-improvement-16030115900182998324

Conversation

@VaiTon

@VaiTon VaiTon commented Mar 17, 2026

Copy link
Copy Markdown
Member

💡 What: Added aria-label and title attributes to the table of contents toggle button in src/routes/[...dir]/[file=markdown]/+page.svelte.
🎯 Why: The button was previously an icon-only button without any accessible name or tooltip. This made it inaccessible for screen readers and unclear for sighted users before clicking it.
Accessibility: Added an aria-label attribute so that screen readers correctly announce the button's purpose ("Toggle table of contents"). Also added a title attribute for a helpful hover tooltip.


PR created automatically by Jules for task 16030115900182998324 started by @VaiTon

Adds `aria-label` and `title` to the icon-only toggle button in
the markdown page to improve screen reader accessibility and provide
a visual tooltip for mouse users.

Co-authored-by: VaiTon <12072630+VaiTon@users.noreply.github.com>
@VaiTon VaiTon requested a review from a team as a code owner March 17, 2026 03:22
@google-labs-jules

Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@vercel

vercel Bot commented Mar 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
risorse Ready Ready Preview, Comment Mar 17, 2026 3:31am

Moving the katex.css import to the script block resolves
the "Unused CSS selector" errors flagged by the Svelte compiler
during the `pnpm check` CI step.

Co-authored-by: VaiTon <12072630+VaiTon@users.noreply.github.com>
Comment thread .Jules/palette.md
@@ -0,0 +1,4 @@
## 2025-03-09 - Accessible Markdown TOC Button

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

serve il SPDX anche qui?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per completezza si, però non claimerei nessun diritto (quindi tipo CC0)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not part of this pr. Revert

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.

2 participants