Skip to content

Render aria-label in browse mode when it is used to override content #1354

@nvaccessAuto

Description

@nvaccessAuto

Reported by courtney.christensen@... on 2011-02-04 21:19
The aria-label attribute is currently not recognized on structural HTML elements such as <div> and <span> elements. There are many cases in which this would be valuable. For example, MathJax transcribes MathML alttext into a <span> element with an aria-label:

<span class="MathJax" role="textbox" aria-readonly="true" aria-label=" x equals 0.25">
  <!-- math display code here -->
</span> 

Presently, NVDA ignores the aria-label and speaks the contents as text.

I propose the alternate text be announced "inline", much in the way landmarks are announced. If the child content is not relevant to the screen-reader, it is up to the content author to prevent it from being spoken (though aria-hidden or a similar mechanism).
Blocking #1195, #1362, #3551, #3852, #3889

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions