New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

math content referenced by aria-labelledby not read #5180

Closed
nvaccessAuto opened this Issue Jun 23, 2015 · 2 comments

Comments

Projects
None yet
1 participant
@nvaccessAuto

nvaccessAuto commented Jun 23, 2015

Reported by RichCaloggero on 2015-06-23 19:13
MathML content referenced via aria-labelledby is not read when control being labeled gains focus. It is read in browse mode however.

This is also the case when html label element is used rather than aria-labelledby.

@nvaccessAuto

This comment has been minimized.

Show comment
Hide comment
@nvaccessAuto

nvaccessAuto Jun 23, 2015

Attachment math-label.html added by RichCaloggero on 2015-06-23 20:35
Description:
Simple Test Case

nvaccessAuto commented Jun 23, 2015

Attachment math-label.html added by RichCaloggero on 2015-06-23 20:35
Description:
Simple Test Case

@nvaccessAuto

This comment has been minimized.

Show comment
Hide comment
@nvaccessAuto

nvaccessAuto Jun 23, 2015

Comment 1 by jteh on 2015-06-23 23:49
Unfortunately, labels are purely textual; note that the spec mentions "label text" and "text alternative". Math content is not textual; it contains semantics that are essential for proper reading and interaction. Even if we did just convert the math to text and include this as a textual label, this wouldn't be properly readable in braille.

I can certainly see the desire for this, but the reality is that ARIA and accessibility APIs just can't handle this at present. Also, it may cause problems in other cases; e.g. if a form field is labelled by a button, we probably don't want the form field reading "button" as part of its label.

If you really need this, you could provide a textual representation for the math yourself via aria-label on the math tag.
Changes:
Added labels: cantfix
State: closed

nvaccessAuto commented Jun 23, 2015

Comment 1 by jteh on 2015-06-23 23:49
Unfortunately, labels are purely textual; note that the spec mentions "label text" and "text alternative". Math content is not textual; it contains semantics that are essential for proper reading and interaction. Even if we did just convert the math to text and include this as a textual label, this wouldn't be properly readable in braille.

I can certainly see the desire for this, but the reality is that ARIA and accessibility APIs just can't handle this at present. Also, it may cause problems in other cases; e.g. if a form field is labelled by a button, we probably don't want the form field reading "button" as part of its label.

If you really need this, you could provide a textual representation for the math yourself via aria-label on the math tag.
Changes:
Added labels: cantfix
State: closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment