3

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.

unor
  • 92,415
  • 26
  • 211
  • 360
ilikemypizza
  • 362
  • 2
  • 13
  • 2
    possible duplicate of [What is HTML5 ARIA?](http://stackoverflow.com/questions/3474099/what-is-html5-aria) – Matt Ball Apr 20 '13 at 17:02
  • @MattBall: This is not a duplicate, as this question is about why missing ARIA attributes are reported as error, and not what ARIA is. – unor Apr 20 '13 at 18:53
  • 1
    Same problem: http://stackoverflow.com/q/16123276/1591669 – unor Apr 20 '13 at 18:56

1 Answers1

2

Don't worry, it's a validator issue as described here. It should be fixed soon.

Marvin
  • 90
  • 5