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

correction: allow role=math on img element #525

Open
wants to merge 2 commits into
base: gh-pages
Choose a base branch
from

Conversation

scottaohara
Copy link
Member

@scottaohara scottaohara commented Jul 17, 2024

closes #523

includes allowance of role=math on img elements.

Per the ARIA specification:

While it is not ideal to use an image of a mathematical expression, there exists a significant amount of legacy content where images are used to represent mathematical expressions. Authors SHOULD ensure that images of math are labeled by text that describes the mathematical expression as it might be spoken.

so this role should be allowed for such instances, and any further accessibility gaps caused by the use of the img element would be for authors to resolve beyond the scope of what this spec covers.


Preview | Diff

closes #523

includes allowance of `role=math` on `img` elements.

Per the ARIA specification:
>While it is not ideal to use an image of a mathematical expression, there exists a significant amount of legacy content where images are used to represent mathematical expressions. Authors SHOULD ensure that images of math are labeled by text that describes the mathematical expression as it might be spoken.

so this role should be allowed for such instances, and any further accessibility gaps caused by the use of the img element would be for authors to resolve beyond the scope of what this spec covers.
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

Successfully merging this pull request may close these issues.

role="math" on images
1 participant