Skip to content

Commit 72fdafa

Browse files
authored
types(runtime-dom): update aria-relevant type (#9043)
1 parent a75d1c5 commit 72fdafa

File tree

1 file changed

+11
-1
lines changed
  • packages/runtime-dom/src

1 file changed

+11
-1
lines changed

packages/runtime-dom/src/jsx.ts

+11-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,17 @@ interface AriaAttributes {
188188
* Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
189189
* @see aria-atomic.
190190
*/
191-
'aria-relevant'?: 'additions' | 'additions text' | 'all' | 'removals' | 'text'
191+
'aria-relevant'?:
192+
| 'additions'
193+
| 'additions removals'
194+
| 'additions text'
195+
| 'all'
196+
| 'removals'
197+
| 'removals additions'
198+
| 'removals text'
199+
| 'text'
200+
| 'text additions'
201+
| 'text removals'
192202
/** Indicates that user input is required on the element before a form may be submitted. */
193203
'aria-required'?: Booleanish
194204
/** Defines a human-readable, author-localized description for the role of an element. */

0 commit comments

Comments
 (0)