---
# System prepended metadata

title: Talking and Doc'ing 2024-05-09
tags: [Talking and Doc'ing]

---

# Talking and Doc'ing 2024-05-09

## Visible scrollbar for TOC

Accessibility issue: no visible sidebar for the TOC

- Hideo checked some other examples for what they do
- Should it be two side by side?
- Things to check for:
    - Can you scroll the table of contents independently of scrolling the whole page?
    - Is it visible for you?
    - Is it working as expected?
    - Did anything confuse you?
    - What problems did you encouter?
    - Is it "weird"?

Example preview: https://starlight-git-fork-techfg-issue-1746-astrodotbuild.vercel.app/reference/overrides/

PR where you can leave comments, feedback, screenshots of what it looks like on your machine!

https://github.com/withastro/starlight/pull/1770

## Astro.currentLocale support in Starlight

Astro's i18n routing API has some helpers like `Astro.currentLocale` that Starlight does not currently use. We are trying to bring Astro's i18n into Starlight, which would mean figuring out whether Astro config or Starlight config sets these settings.

https://github.com/withastro/starlight/pull/1841

This is an internal refactor to use Astro's i18n approach, and should not affect the site view... but who knows what bugs or edge cases might show up!

Task:

- click around the entire preview in multiple languages, checking for:
    - does the language picker work properly?
    - are the languages in the list in the language picker displaying properly? (Astro and Starlight use different methods for showing the language name, currently)
    - In the preview, does the banner at the top showing `Astro.locale` show the correct language based on your choice?
    - does the URL always correctly show which language you have chosen?
    - do you always see the correct language shown that you expect?
    - If the page is not translated, are you seeing the appropriate fallback page? (message saying its not translated, English content, but correct language for the page infrastructure)

## `<Badge>` component

In final review! Should merge soon!

PR: https://github.com/withastro/starlight/pull/1530
Deploy Preview: https://starlight-git-kevin-badge-astrodotbuild.vercel.app/guides/components/#badges


## Sidebar restructuring!

Gitpod Workspace: https://sarah11918-sidebar-0xeg3sb7din.ws-us110.gitpod.io
Browser Preview: https://4321-sarah11918-sidebar-0xeg3sb7din.ws-us110.gitpod.io/


