[NVDA-support] "aria-label"s not speaking?
jamie at nvaccess.org
Fri Feb 4 14:10:33 EST 2011
Ah. For examples like this, the only way would probably be for NVDA to
treat the label as content. This is a slippery slope, however, as if we
do this, we may end up with duplicate text.
I suggest you file a ticket in our tracker, citing this example. We can
then investigate further when time permits.
On 5/02/2011 4:53 AM, Courtney Christensen wrote:
> Thanks Jamie,
> I was unaware of the NVDA+Tab functionality (I knew it must be
> user-error!). That's very valuable.
> Of course, the example I gave was entirely fictional; in practice I'm
> actually trying to hear a description generated by MathJax. They
> provide the text description of the math equation in an aria-label on a
> <span> element. Here's an abbreviated sample:
> <spanclass="MathJax" role="textbox" aria-readonly="true"aria-label=" x
> equals 0.25">
> ... (math display code here, ideally ignored by NVDA) ...
> Does NVDA recognize aria-labels on HTML "structural" elements like
> <div>s and <span>s? The NVDA+Tab trick doesn't seem to work here. Can
> this be done?
> Thanks again!
>  http://mathjax.org
> On 2/4/2011 10:05 AM, James Teh wrote:
>> The problem here is that aria-label isn't content; i.e. it isn't part
>> of the document text, or to put it another way, it isn't visible on
>> screen. If you press NVDA+tab after moving to that checkbox, you will
>> hear the label. The same is true if you tab through the document.
>> However, in browse mode, NVDA only renders actual document content, so
>> you will not see aria-label text.
>> I'm guessing that this control needs to be labelled for sighted users
>> somehow. How do sighted users know what the control does? If it is,
>> you can use aria-labelledby to label the control while keeping the
>> label as content.
>> On 5/02/2011 3:27 AM, Courtney Christensen wrote:
>>> Hi all,
>>> I am attempting to read the "aria-label" attributes on HTML elements,
>>> but am having no luck. Initially, I thought it was just unsupported. But
>>> after looking at the change logs and bugs, it looks like this
>>> functionality has been in NVDA for years.
>>> Example HTML; I'd expect to hear "Check here if you like roller
>>> coasters". Instead I only hear "checkbox not checked".
>>> <input type="checkbox" aria-label="Check here if you like roller
>>> coasters" />
>>> Am I missing something?
>>> (search for "#156")
>>> : http://www.nvda-project.org/ticket/1283
>>> NVDA-support mailing list
>>> NVDA-support at lists.nvaccess.org
> NVDA-support mailing list
> NVDA-support at lists.nvaccess.org
Vice President, Developer
NV Access Inc, ABN 61773362390
Email: jamie at nvaccess.org
Web site: http://www.nvaccess.org/
More information about the NVDA-support