Hover Card
ホバーカード
hover cardは、ちょっとした詳しいプレビューです。参照にマウスを乗せたり選んだりしたときに開き、ページを塞ぎません。
HoverCard実際の例
著者の名前にカーソルを合わせると、簡単なプロフィールとフォロワー数が表示されます。完全なプロフィールは開いたままにはなりません。
主な部分
- 01トリガー
- 02Anchored or modal surface
- 03Focus boundary
- 04Dismiss path
以下の場合に使用します
人々が次にどこに進むかを選ぶのを助けるオプションのプレビューディテールに使用します。
以下の場合は使用しないでください
ホバーで必要な情報を隠してはいけません。タッチデバイスでは確実に開かない場合があります。
コードで使用する名前
HoverCard 出荷前に
Move focus on purpose. Keep it inside only when the overlay blocks the page. Support Escape and a visible close button, then return focus to the opener. Keep entered data and check small-screen, loading, and failure states.
Outcome:Complete the task with ホバーカード (Hover Card)。 User context:著者の名前にカーソルを合わせると、簡単なプロフィールとフォロワー数が表示されます。完全なプロフィールは開いたままにはなりません。 Recommended pattern:ホバーカード (Hover Card)。 Why it fits:人々が次にどこに進むかを選ぶのを助けるオプションのプレビューディテールに使用します。 Do not use it when:ホバーで必要な情報を隠してはいけません。タッチデバイスでは確実に開かない場合があります。 Product requirements: Define the default, loading, empty, error, success, and recovery states. Keep user input. Give clear feedback after every action. Accessibility and resilience: Use semantic HTML, full keyboard access, and visible focus. Make the layout work when zoomed and support reduced motion. Follow the project’s current rules. Do not add a new UI library unless the project already uses it. Acceptance criteria: The main task works with keyboard only and at 320px width. Focus and status changes are announced. Check loading, failure, retry, cancel, and reduced-motion paths. Evidence and limits (evidence boundary):これは規範的な標準ではありません。その名前、制限、および期待される挙動は、情報源によって変わる可能性があります。 Unknowns to confirm: Product wording, data source, analytics events, supported devices and languages, and platform limits.
このリクエストを確認する
Review how ホバーカード (Hover Card) is used now. Definition: hover cardは、ちょっとした詳しいプレビューです。参照にマウスを乗せたり選んだりしたときに開き、ページを塞ぎません。 Release checks: Move focus on purpose. Keep it inside only when the overlay blocks the page. Support Escape and a visible close button, then return focus to the opener. Keep entered data and check small-screen, loading, and failure states. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.