appandflow / appandflow/trailhead

[Hackathon demo] Include visible trail stats in each card accessibility label

未关闭
#2 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement good first issue
主要语言
TypeScript
星标
0
派生
0
平均合并
23 分钟
30 天内合并 PR
7

描述

Hackathon demo ticket. This is intentionally small and self-contained.

## Problem

Trail cards show distance, ascent, and estimated duration, but their accessibility label only names the trail, region, difficulty, and rating.

## Scope

Update the accessible name assembled in src/components/TrailCard.tsx. Reuse the same formatted values already shown by the card.

## Acceptance criteria

- A trail card accessibility label includes distance, ascent, and estimated duration.
- Values respect the current metric or imperial setting.
- Visible card content and navigation behavior stay unchanged.

## Validation

Follow docs/mobile-agent-loop.md.

Before: capture the Trails screen and the agent-device attributes for one named card.

After: use the same card and settings, prove the expanded label with agent-device, and capture the matching screen.

The PR description must include clearly labeled Before and After evidence.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。