Fix the PageSpeed accessibility finding that the duration button's accessible name does not match its visible label.
Change the accessible name from “Change duration, currently 30 minutes” to “30 min, change duration”, retaining the selected duration dynamically.
Keep the visible label and booking behavior unchanged.
Update duration E2E selectors and check visible text before and after changing duration.
Include a patch changeset for @when/web.
This addresses accessibility only; no performance-score improvement is claimed. Fonts, CSS, avatar, and timezone work remain separate.
Validation
All 12 Chromium tests in e2e/host-durations.e2e.ts passed.
Svelte check: 0 errors and 0 warnings.
Prettier checks passed for both modified files and the changeset.
git diff --check passed.
## Summary
Fix the PageSpeed accessibility finding that the duration button's accessible name does not match its visible label.
- Change the accessible name from “Change duration, currently 30 minutes” to “30 min, change duration”, retaining the selected duration dynamically.
- Keep the visible label and booking behavior unchanged.
- Update duration E2E selectors and check visible text before and after changing duration.
- Include a patch changeset for `@when/web`.
This addresses accessibility only; no performance-score improvement is claimed. Fonts, CSS, avatar, and timezone work remain separate.
## Validation
- All 12 Chromium tests in `e2e/host-durations.e2e.ts` passed.
- Svelte check: 0 errors and 0 warnings.
- Prettier checks passed for both modified files and the changeset.
- `git diff --check` passed.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Fix the PageSpeed accessibility finding that the duration button's accessible name does not match its visible label.
@when/web.This addresses accessibility only; no performance-score improvement is claimed. Fonts, CSS, avatar, and timezone work remain separate.
Validation
e2e/host-durations.e2e.tspassed.git diff --checkpassed.