Tree Select
ツリーセレクト
ツリーセレクトは、開くことができるツリーの中に、階層になった選択肢を表示します。1つだけ、または複数選ぶこともできます。
実際の例
管理者はレポートをチームに割り当てます。選択中も会社と部門レベルは表示されたままです。
主な部分
- 01永続ラベル
- 02Input control
- 03Hint or format
- 04Validation message
以下の場合に使用します
人々が1つまたは複数の項目を選択する際に階層を確認する必要がある場合に使用します。
以下の場合は使用しないでください
検索、仮想スクロール、部分状態の明確化なしに、小さなポップアップに巨大なツリーを置かないでください。
コードで使用する名前
role=tree + treeitem + selection state 出荷前に
Give each field a label that code can read. Link hints and errors, and keep entered values. Check autofill, keyboard order, validation timing, submit states, failure recovery, zoom, and languages.
Outcome:Complete the task with ツリーセレクト (Tree Select)。 User context:管理者はレポートをチームに割り当てます。選択中も会社と部門レベルは表示されたままです。 Recommended pattern:ツリーセレクト (Tree Select)。 Why it fits:人々が1つまたは複数の項目を選択する際に階層を確認する必要がある場合に使用します。 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 ツリーセレクト (Tree Select) is used now. Definition: ツリーセレクトは、開くことができるツリーの中に、階層になった選択肢を表示します。1つだけ、または複数選ぶこともできます。 Release checks: Give each field a label that code can read. Link hints and errors, and keep entered values. Check autofill, keyboard order, validation timing, submit states, failure recovery, zoom, and languages. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.