Carousel indicators are small buttons or dots that show which slide is active. Users can click them to jump directly to a specific slide.
Option B uses the correct button elements with data-bs-target and data-bs-slide-to attributes, includes aria-label for accessibility, and marks the first button as active with class="active" and aria-current="true".
The 'active' class visually highlights the current slide's indicator. Without it, no indicator looks active, so users can't tell which slide is showing.
The active indicator button has the class 'active', so the selector '.carousel-indicators button.active' targets it specifically.
The aria-label attribute gives a descriptive label to each indicator button, such as 'Slide 1', so screen readers can announce it properly.