Skip to main content

blockly > utils > aria > DynamicAnnouncementOptions

utils.aria.DynamicAnnouncementOptions interface

Customization options that can be passed when using announceDynamicAriaState.

Signature:

export interface DynamicAnnouncementOptions

Properties

Property

Modifiers

Type

Description

assertiveness?

LiveRegionAssertiveness

(Optional) How assertive the announcement should be.

Important*: It was found through testing that ASSERTIVE announcements are often outright ignored by some screen readers, so it's generally recommended to always use POLITE unless specifically tested across supported readers.

role?

Role

(Optional) The custom ARIA Role that should be used for the announcement container.