Type definition for aria-relevant is incorrect
Vue version
3.3.4
Link to minimal reproduction
Steps to reproduce
Set the aria-relevant
attribute on an HTML element to additions removals
What is expected?
This should be allowed.
What is actually happening?
TypeScript says Type '"additions removals"' is not assignable to type '"text" | "additions" | "additions text" | "all" | "removals"'.ts(2322)
System Info
No response
Any additional comments?
Per https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-relevant#values , "the value is a space-separated list of change types, including additions, removals, and text, with a shorthand all meaning all three". So Vue's type definition for this attribute is incorrect, it should allow values like additions removals
or removals text
.