Description
When including a set of <details> tags, the name attribute ties them together so that only one may be open at a time. However, VSCode is throwing an LWC1057 warning, and is stripping the attribute when deploying.
Steps to Reproduce
- Create new LWC.
- Add a
<details> tag with a name attribute.
- Deploy
<details name="test1" open>
<summary>
Heading 1
</summary>
<p>Content 1</p>
</details>
Expected Results
No error is throw.
Actual Results
Error is thrown: "LWC1057: name is not valid attribute for details. For more information refer to https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details"

Browsers Affected
N/A
Version