The aria spec is correct, but I think you're confused about what a
ProgressBar's label is.   The ProgressBar itself does *not* contain a
label.   Rather, the application *may* supply a label for the progress bar,
typically to the left of the progress bar or above it.


On Fri, Feb 14, 2014 at 10:53 PM, Sebastien Pereira <
notifications@github.com> wrote:

> In ProgressIndicator.js:
>
> > +			lineNode.setAttribute("x1", "37%");
> > +			lineNode.setAttribute("y1", "27%");
> > +			lineNode.setAttribute("x2", "29%");
> > +			lineNode.setAttribute("y2", "13%");
> > +			gNode.appendChild(lineNode);
> > +			svgNode.appendChild(gNode);
> > +			var useNode = document.createElementNS(svgNS, "use");
> > +			useNode.setAttribute("x", "28.5%");
> > +			useNode.setAttribute("y", "28.5%");
> > +			useNode.setAttribute("width", "43%");
> > +			useNode.setAttribute("height", "43%");
> > +			svgNode.appendChild(useNode);
> > +			this.appendChild(svgNode);
> > +		},
> > +
> > +		startup: function () {
>
> From http://www.w3.org/TR/wai-aria/states_and_properties, *aria-valuenow*defines the current value for a range widget, while
> *aria-labelledby* Identifies the element (or elements) that labels the
> current element. Both are declared in ProgressBar. The label reflects the
> actual label that is displayed on the ProgressBar.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/ibm-js/deliteful/pull/28/files#r9748541>
> .
>