.sr-only class in Bootstrap?The .sr-only class hides content visually but keeps it available for screen readers. This helps users who rely on assistive technologies get important information without cluttering the visual layout.
.sr-only-focusable class to make hidden content visible when focused?.sr-only-focusable works together with .sr-only.The .sr-only-focusable class must be used alongside .sr-only to hide content visually but show it when focused (e.g., by keyboard navigation). Option A correctly combines both classes.
.sr-only class to a paragraph element?<p class="sr-only">This text is hidden visually but read by screen readers.</p>
The .sr-only class hides the element visually by positioning it off-screen and clipping it, but it remains in the document for screen readers to read.
.sr-only class to hide content visually but keep it accessible?Bootstrap's .sr-only uses absolute positioning, tiny size, clipping, and negative margin to hide content visually but keep it accessible. Other options hide content completely or make it inaccessible.
The combination of .sr-only and .sr-only-focusable hides content visually but reveals it when the element receives keyboard focus, helping keyboard users navigate better.
