Skip to content

Commit

Permalink
types(runtime-dom): update aria-relevant type (#9043)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaine0923 committed Oct 30, 2023
1 parent a75d1c5 commit 72fdafa
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion packages/runtime-dom/src/jsx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,17 @@ interface AriaAttributes {
* Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
* @see aria-atomic.
*/
'aria-relevant'?: 'additions' | 'additions text' | 'all' | 'removals' | 'text'
'aria-relevant'?:
| 'additions'
| 'additions removals'
| 'additions text'
| 'all'
| 'removals'
| 'removals additions'
| 'removals text'
| 'text'
| 'text additions'
| 'text removals'
/** Indicates that user input is required on the element before a form may be submitted. */
'aria-required'?: Booleanish
/** Defines a human-readable, author-localized description for the role of an element. */
Expand Down

0 comments on commit 72fdafa

Please sign in to comment.