Attachments: remove button stays invisible on keyboard focus and on touch screens
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 82/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- tailwindcss, typescript
調査の方向性
packages/elements/src/attachments.tsx の参照されている AttachmentRemove の箇所から始め、常に表示されるリストバリアントとグリッドおよびインラインの各バリアントを比較します。また、packages/elements/src/queue.tsx の QueueItemAction も確認します。キーボードフォーカス時およびタッチスクリーン上で削除/アクションコントロールを視覚的に識別でき、既存のリストの動作を維持できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
In the grid and inline variants AttachmentRemove is opacity-0 and only becomes visible through group-hover:opacity-100 (attachments.tsx#L345, #L351).
- Keyboard: Tab moves focus to the button, but it stays invisible, focus ring included, so a keyboard user cannot see what is focused.
- Touch: Tailwind v4 wraps hover variants in
@media (hover: hover), so on a phone or tablet the button never becomes visible. It still takes taps at its invisible position.
Repro (registry main 6a9d5b1, Tailwind 4.1):
<Attachments variant="inline">
<Attachment data={file} onRemove={() => {}}>
<AttachmentPreview />
<AttachmentInfo />
<AttachmentRemove />
</Attachment>
</Attachments>
Press Tab until the remove button has focus: nothing is visible. On a phone (or Chrome DevTools device mode) the button never shows.
Expected: the button is visible when it has keyboard focus and on touch screens. The list variant already shows it all the time.
QueueItemAction (queue.tsx#L129) uses the same hover-only pattern.
- 主要言語
- TypeScript
- スター
- 2.5k
- フォーク
- 291
- 平均マージ
- 20分
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
vercel/ai-elements のほかの issue
-
PromptInput: successful async submit clears text typed while the submit was pending対応中かも @NicolasMilliard が 6 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
vercel/ai-elements#518 ·
メンテナーはふだん 1 日以内に返信
-
ChainOfThought: the header's aria-controls points at an element that is never rendered対応中かも @HardMax71 が 23 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
vercel/ai-elements#505 ·
メンテナーはふだん 1 日以内に返信
-
PromptInput rejects every file when accept lists file extensions (".xlsx")対応中かも @HardMax71 が 23 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
vercel/ai-elements#501 ·
メンテナーはふだん 1 日以内に返信
-
Context: ContextReasoningUsage and ContextCacheUsage don't compile with ai 7対応中かも @burrows99 が 13 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
vercel/ai-elements#500 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
vercel/ai-elements#498 ·
メンテナーはふだん 1 日以内に返信
vercel/ai-elements の issue をすべて見る
似ている issue
-
[Bug]: Device screenshot fails with 500 on iPhone Duo (Xcode 27.2): serve-sim calls simctl without --display対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
pingdotgg/t3code#24900 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
inu-appcenter/UNIDorm-web#411 ·
メンテナーはふだん 1 日以内に返信
-
🐛 bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
ranxianglei/billion-context#4720 ·
メンテナーはふだん 1 日以内に返信
-
area:arcade game p3-medium ready-for-agent type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
fderuiter/deruiter.dev#2840 ·
メンテナーはふだん 1 日以内に返信