You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Aria-description serves the same purpose as aria-described. However, the aria-description property should only be used when providing a visible description is not the desired user experience.
This is a regression since it should have been fixed here: #7301
Reproduction
Just use aria-description to an HTML element and observe the compiler warning.
<div aria-description="hello">
World
</div>
Logs
Object literal may only specify known properties, and '"aria-description"' does not exist intype'HTMLProps<"div", HTMLAttributes<any>>'.js(2353)
aria-description is not accepted yet, so it seems like it was prematurely added and rightfully removed. Using aria-describedby should be used until the standard is finalized, at which point svelte should accommodate any changes.
Describe the bug
Using
aria-description
triggers theunknown property
warning.Aria description is global and should apply to all HTML tags: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes#global_aria_attributes
Aria-description serves the same purpose as aria-described. However, the aria-description property should only be used when providing a visible description is not the desired user experience.
This is a regression since it should have been fixed here: #7301
Reproduction
Just use aria-description to an HTML element and observe the compiler warning.
Logs
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: