Skip to content

Commit

Permalink
improved default for politeness
Browse files Browse the repository at this point in the history
  • Loading branch information
chad1008 committed Jan 30, 2023
1 parent 8bf4159 commit d43fe8f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/components/src/notice/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ export type NoticeProps = {
* technologies may override it based on internal heuristics.
*
* @see https://www.w3.org/TR/wai-aria-1.1/#aria-live
*
* @default 'assertive' for 'error' status, 'polite' for all other statuses
*/
politeness?: 'polite' | 'assertive';
/**
Expand Down

0 comments on commit d43fe8f

Please sign in to comment.