-
Notifications
You must be signed in to change notification settings - Fork 19
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
Add guidance for using aria-description #520
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The text looks good. My only concern, which I don't have a solution for other than maybe using in conjunction with something that provides a tooltip, is a reverse "equal access". A goal of accessibility it to provide equal access to material for people with different impairments. In this case, the description is only provided to people using AT. Unless the description is something that is provided to the sighted person in the content in another manner (such as an arrow what the description is such as the radius of a circle), then it isn't equal access.
@Steve-Noble: you wrote a lot of the text here. Can you take a look at Deyan's suggestion and see if you think this is appropriate? |
That is a fair requirement. But I think the Web Platform is a good vehicle to achieve this, right? Here is a very primitive example: It occurs to me that |
Maybe add a sentence or so that says something like 'if aria-description is used, then some technique such as having a tool tip with similar information should be provided for non-screen reader users'. As I think about this more, it seems backward. Although I was the one to suggest adding this to the appendix, maybe the main reference should be in the maction section. It could get mentioned as means of conveying information to AT that might otherwise only be visually accessible. There would still need to be a brief mention of An aside: I briefly wondered if the title attribute made sense to include in MathML and quickly found this:
This is from a page MDN references: Tooltips & Toggletips. That has some brief mentions of |
I would tend to echo Neil's comment. Information that essentially summarizes a mathematical expression should have an equal access method beyond only making it available to a screen reader. I think the general principle is that if the description would also be useful to sighted users, it's better to make it visible on the page in some way and use aria-describedby to reference it instead. "Since aria-description is not visible to users, it’s sometimes used to give an element a special accessible description for screen reader users only. Consider if the accessible description provided in the aria-description attribute might be useful to any sighted users. If it is, make the description visible on the page and instead use aria-describedby to reference it. |
@Steve-Noble and @NSoiffer thank you for the feedback. I have attempted to do a 3-way synthesis with some extra text in 8a19efb, now also in the preview site. I have tried to stay away from discussing |
@Steve-Noble: the problem with |
I like the new text. |
Based on the conversation at today's meeting where no one objected to the text, I'm approving this. |
SHA: 980c186 Reason: push, by NSoiffer Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Closes #493 in favour of
aria-description
.This PR was an action item from the WG meeting on Nov 14, 2024. The text and example are completely tentative, rewordings welcome.
Preview at:
https://dginev.github.io/mathml/spec.html#acc_descriptions