@props([ 'src' => null, 'alt' => '', 'points' => [], // [['x' => 32, 'y' => 60, 'title' => ..., 'body' => ...], ...] 'ratio' => '16/9', ]) {{-- Annotated image: click points that open a short note about part of a scheme or drawing. Each hotspot is a real button, so the whole set is reachable by keyboard, and every note is also listed underneath — hover and pointer precision are never the only route to the content. --}}
merge(['class' => 'space-y-6']) }}>
@foreach ($points as $index => $point)

{{ $point['title'] ?? '' }}

@if (! empty($point['body']))

{{ $point['body'] }}

@endif
@endforeach
{{-- Same content, linear: works on touch, on small screens and for screen readers. --}}
    @foreach ($points as $index => $point)
  1. {{ $index + 1 }} {{ $point['title'] ?? '' }} @if (! empty($point['body'])) {{ $point['body'] }} @endif
  2. @endforeach