correction: allow role=math on img element by scottaohara · Pull Request #525 · w3c/html-aria (original) (raw)

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