8000 correction: allow role=math on img element by scottaohara · Pull Request #525 · w3c/html-aria · GitHub
[go: up one dir, main page]

Skip to content

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.
@scottaohara scottaohara added the Meets 2 implementations req Indicates that a spec change has met the necessary 2 implementations needed to merge. label Dec 23, 2024
@scottaohara scottaohara merged commit 892a700 into gh-pages Dec 23, 2024
2 checks passed
@scottaohara scottaohara deleted the img-allow-math-role branch December 23, 2024 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Meets 2 implementations req Indicates that a spec change has met the necessary 2 implementations needed to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

role="math" on images
2 participants
0