Variable getStatusAriaProps
getStatusAriaProps: (
message: string,
politeness?: "OFF" | "POLITE" | "ASSERTIVE",
) => { "aria-atomic": boolean; "aria-live": string; role: string }
Type Declaration
- (
message: string,
politeness?: "OFF" | "POLITE" | "ASSERTIVE",
): { "aria-atomic": boolean; "aria-live": string; role: string } Parameters
- message: string
- politeness: "OFF" | "POLITE" | "ASSERTIVE" = 'POLITE'
Returns { "aria-atomic": boolean; "aria-live": string; role: string }
ARIA props object
Generate ARIA props for a status/live region