Skip to content
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

describedMath alone should not be a flag for alternative text #633

Open
mattgarrish opened this issue Jan 29, 2025 · 2 comments
Open

describedMath alone should not be a flag for alternative text #633

mattgarrish opened this issue Jan 29, 2025 · 2 comments

Comments

@mattgarrish
Copy link
Member

As we've discussed before, described math can apply to mathml equations, latex, etc. It's not a statement about the format of the math, so it shouldn't be a flag in the nonvisual reading for saying that alternative text is available for images unless it's paired with a mathOnVisual access mode.

@GeorgeKerscher
Copy link
Collaborator

Matt writes:
saying that alternative text is available for images unless it's paired with a mathOnVisual access
George:

  1. Can we specify this out?
  2. Is there any other case where described math works? Possibly if there is MathML and there is alttext attribute filled in?
    It seems that the images with alt text is the most common experience we will encounter.

@mattgarrish
Copy link
Member Author

Described math isn't only about alt text attributes. You could use aria-details and give an extended description of an equation in a details element. That's why we already took the word "images" out of the string in the rich content description when it's present.

You need to check if accessMode=mathOnVisual is present and pair it with a check if describedMath is set if the descriptive string is going to say images are described.

The alternative is to do what we did in rich content and take "images" out of the descriptive statement so it only says: "Has alternative text descriptions".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants