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