Yah, IIUC no attribute other than aria-valuenow.  As you mentioned
dijit/ProgressBar is also setting aria-labelledby, but I believe that's
also a mistake.   It's from https://bugs.dojotoolkit.org/ticket/16564 and
https://bugs.dojotoolkit.org/ticket/16000.   I'll add a comment to the
first ticket for reference.


On Sat, Feb 15, 2014 at 8:12 AM, 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 () {
>
> Oh, I see. So there is no aria attribute to refer the text that is
> displayed by the progress bar. I must have been confused by what is
> implemented in d1.
> ... <#14432abc0bd1c1c8_>
> On 14 février 2014 20:50:52 UTC+01:00, Bill Keese <
> notifications@github.com> wrote: >> + 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 () { >
> >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> > . > ---
> Reply to this email directly or view it on GitHub:
> https://github.com/ibm-js/deliteful/pull/28/files#r9761365
>  -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/ibm-js/deliteful/pull/28/files#r9767971>
> .
>