Reputation: 347
I was validating some HTML and I noticed some new errors that I am unfamiliar with. These list items get populated with JavaScript based on user input.
Element
li
is missing one or more of the following attributes:aria-checked
,aria-expanded
,aria-valuemax
,aria-valuemin
,aria-valuenow
,aria-valuetext
,role
<ul id="outTag">
<li id="item1"></li>
<li id="item2"></li>
<li id="item3"></li>
<li id="item4"></li>
</ul>
If someone could please shed some light on this, that would be great.
Upvotes: 3
Views: 1373