Getting StartedComponentsDesign TokensThemingTheme SynthesizerFrameworksAccessibilityUtilitiesServer RenderingBrowser SupportContributingChangelogApp ShellAspect GridAuth ShellCenterContainerDashboard GridFloat BarInsetMasonryPage HeaderPage LayoutResizableResponsive SwitcherSectionSettings LayoutSplit PaneStatus BarStickyToolbarAnchor NavBottom NavBreadcrumbBreadcrumb MenuCommand BarDrawerFooterLinkMenubarNavigation MenuPage IndicatorPaginationRailScroll IndicatorScroll SpyScroll To TopSidebarSkip LinkStepper NavTabsTop BarTree ViewAccordionAspect RatioAvatarAvatar GroupCardCarouselCollapsibleColor SwatchCTA BannerDividerEmpty StateFeature CardIconImageImage CompareImage HotspotsInfinite ScrollLightboxMarqueeQR CodeScroll AreaSkeletonSpinnerStackVideoVirtual ListActivity HeatmapAnimated NumberBadgeBar ListChartClockComparisonCountdown TimerData GridDescription ListDiffGaugeJSON TreeKanbanLevel MeterListMeterSparklineStatStepperTagTimelineUptimeValue CardWaveformBlockquoteCode BlockCode GroupGradient TextHighlightKbdKeyboard MapMarkdownNumber FormatProseTerminalTextTime AgoTruncateTypewriterButtonButton GroupCalendarCheckboxChipColor PickerComboboxCopy ButtonDate PickerDate Range PickerField ListFieldsetFile UploadFormHotkeyIcon ButtonImage CropperInline EditInputInput GroupKnobLabelMasked InputMulti SelectNumber InputPassword InputPin InputRadio GroupRange SliderRatingSearchSegmented ControlSelectSignature PadSliderSortable ListSwitch GroupTag InputTextareaTheme ToggleTime PickerToggleTransfer ListTree SelectAlertAnnouncementBannerCommand PaletteConfirmConnection StatusContext MenuConversationDialogDropdown MenuHover CardLoading OverlayNotification PanelPopoverProgressSheetToastTooltip
ARC UIARC Radiant Components
v4.9DocsComponentsTokensSynthesizer
Getting StartedFrameworksServer RenderingDesign TokensThemingTheme SynthesizerTypographyUtilitiesAll ComponentsAccessibilityBrowser SupportChangelogContributingStatsApp ShellAspect GridAuth ShellCenterContainerDashboard GridFloat BarInsetMasonryPage HeaderPage LayoutResizableResponsive SwitcherSectionSettings LayoutSplit PaneStatus BarStickyToolbarAnchor NavBottom NavBreadcrumbBreadcrumb MenuCommand BarDrawerFooterLinkMenubarNavigation MenuPage IndicatorPaginationRailScroll IndicatorScroll SpyScroll To TopSidebarSkip LinkStepper NavTabsTop BarTree ViewAccordionAspect RatioAvatarAvatar GroupCardCarouselCollapsibleColor SwatchCTA BannerDividerEmpty StateFeature CardIconImageImage CompareImage HotspotsInfinite ScrollLightboxMarqueeQR CodeScroll AreaSkeletonSpinnerStackVideoVirtual ListActivity HeatmapAnimated NumberBadgeBar ListChartClockComparisonCountdown TimerData GridDescription ListDiffGaugeJSON TreeKanbanLevel MeterListMeterSparklineStatStepperTagTimelineUptimeValue CardWaveformBlockquoteCode BlockCode GroupGradient TextHighlightKbdKeyboard MapMarkdownNumber FormatProseTerminalTextTime AgoTruncateTypewriterButtonButton GroupCalendarCheckboxChipColor PickerComboboxCopy ButtonDate PickerDate Range PickerField ListFieldsetFile UploadFormHotkeyIcon ButtonImage CropperInline EditInputInput GroupKnobLabelMasked InputMulti SelectNumber InputPassword InputPin InputRadio GroupRange SliderRatingSearchSegmented ControlSelectSignature PadSliderSortable ListSwitch GroupTag InputTextareaTheme ToggleTime PickerToggleTransfer ListTree SelectAlertAnnouncementBannerCommand PaletteConfirmConnection StatusContext MenuConversationDialogDropdown MenuHover CardLoading OverlayNotification PanelPopoverProgressSheetToastTooltip

Announcement

ARIA live-region wrapper with no visual output. Announces dynamic content changes to screen readers.

ComponentsAnnouncement
feedbackstatic
<arc-announcement>

Overview

Announcement is an accessibility utility that creates an ARIA live region for announcing dynamic content changes to screen readers. It has no visual output (zero width, zero height) and exists only for assistive technology users. When you set the `message` property, the component updates its internal live region and the screen reader announces the new content. The `politeness` prop controls the interruption level: `polite` waits for the screen reader to finish its current announcement before speaking the new message, while `assertive` interrupts immediately for urgent updates. Use announcement for any dynamic state change that sighted users can perceive visually but screen reader users would otherwise miss: route changes, live search result counts, form submission confirmations, timer updates, or chat message arrivals. Place the component once in your layout and update its message property whenever you need to announce something.

Guidelines

When to use

  • Use announcement for dynamic content changes that screen reader users would otherwise miss
  • Use polite for non-urgent updates like search result counts or status changes
  • Use assertive for critical updates like errors, timeouts, or session expiration warnings
  • Place a single <arc-announcement> in your layout and reuse it for all announcements
  • Keep messages concise; screen reader users cannot skim long announcements

When not to use

  • Do not use announcement for content that is already in an ARIA live region (like toast or alert)
  • Do not fire rapid successive announcements; screen readers may drop intermediate messages
  • Do not use assertive for routine updates. It interrupts the user and should be reserved for urgency
  • Do not duplicate announcements that are already handled by native ARIA roles
  • Do not use announcement as a substitute for proper labeling and semantic HTML

Features

  • ARIA live region with configurable politeness (polite or assertive)
  • No visual footprint: no width, height, or visible rendering
  • Set the message property to trigger a screen-reader announcement
  • Polite mode waits for current speech to finish before announcing
  • Assertive mode interrupts current speech for urgent updates
  • Each message change triggers a new announcement
  • Renders a single visually-hidden element
  • Works with all major screen readers (NVDA, JAWS, VoiceOver, TalkBack)

Preview

Announce Message

Usage

<script type="module" src="@arclux/arc-ui"></script>

<arc-announcement id="announcer" politeness="polite"></arc-announcement>

<arc-button onclick="document.getElementById('announcer').message = '42 results found.'">
  Search
</arc-button>

API

messagestring''
The text to announce to screen readers. Each time this property changes, a new announcement is triggered.
politeness'polite' | 'assertive''polite'
Controls the ARIA live region politeness level. Polite waits for the screen reader to finish before announcing; assertive interrupts immediately.

See Also