schema: ai-cjm-component-contract/v1 id: breadcrumbs version: 2.0.0 status: stable owner: AI CJM Design purpose: Показывает место detail-страницы в архитектуре и даёт короткий путь назад. use_when: - Detail-страница вложена в каталог, профиль или редакционный раздел. evidence: - id: production-style url: https://aicjm.ru/edu/cases/case.css?v=20260811-card-source locator: .case-breadcrumb, .case-breadcrumb a, .case-breadcrumb span supports: - anatomy - variant:default - size:default - state:default - id: production-dom url: https://aicjm.ru/edu/cases/ozon/ locator: .case-hero .case-breadcrumb supports: - approved-example - content anatomy: - id: parent required: true role: Ссылка на родительский каталог. - id: separator required: true role: Нейтральный разделитель. - id: current required: true role: Текущий объект без лишней ссылки. variants: - id: default status: stable description: Каноническая композиция v2. evidence_refs: - production-style sizes: - id: default status: stable description: Размер следует токенам и содержимому без локальных чисел. evidence_refs: - production-style states: default: status: stable basis: observed description: breadcrumbs default is observed at the exact production locator. evidence_refs: - production-style hover: status: not-applicable basis: not-applicable description: hover is not owned by breadcrumbs. focus-visible: status: not-applicable basis: not-applicable description: focus-visible is not owned by breadcrumbs. active: status: not-applicable basis: not-applicable description: active is not owned by breadcrumbs. selected: status: not-applicable basis: not-applicable description: selected is not owned by breadcrumbs. open: status: not-applicable basis: not-applicable description: open is not owned by breadcrumbs. disabled: status: not-applicable basis: not-applicable description: disabled is not owned by breadcrumbs. loading: status: not-applicable basis: not-applicable description: loading is not owned by breadcrumbs. success: status: not-applicable basis: not-applicable description: success is not owned by breadcrumbs. error: status: not-applicable basis: not-applicable description: error is not owned by breadcrumbs. empty: status: not-applicable basis: not-applicable description: empty is not owned by breadcrumbs. responsive: mode: single-line-scroll-safe-breadcrumb reading_order: 'breadcrumbs: DOM order remains authoritative at every viewport.' rules: - Preserve breadcrumbs anatomy and primary action in one reading sequence. - Wrap text without horizontal page overflow and preserve evidence labels. accessibility: pattern: hierarchy-navigation semantics: - Expose breadcrumbs as the nearest correct native landmark, article or control. keyboard: - Tab reaches real actions in DOM order; Enter or Space follows the native control contract. focus: - Interactive descendants use focus.ring and preserve a visible label. motion: - Reduced motion removes nonessential transitions without hiding state or evidence. tokens: - text.secondary - action.primary - type.size.metadata - focus.ring content: required: - Ссылка на родительский каталог. - Нейтральный разделитель. - Текущий объект без лишней ссылки. constraints: - Сохранять один понятный родительский маршрут. - Каждый факт и asset сохраняет provenance. do: - Сохранять один понятный родительский маршрут. dont: - Не превращать breadcrumbs в копию основной навигации. examples: approved: status: stable description: Live breadcrumbs at the scoped production locator. evidence: https://aicjm.ru/edu/cases/ozon/ prohibited: description: Не превращать breadcrumbs в копию основной навигации. acceptance: - id: breadcrumbs-1 criterion: Все обязательные anatomy parts присутствуют в DOM и видимы. method: automated-and-manual - id: breadcrumbs-2 criterion: На mobile сохраняются reading order, target size и отсутствие overflow. method: browser