[add] accessibility#86
Conversation
contribution guide
Instead set alt description to none
|
Hi @SeSodesa , I've added support for a distinction between singular/plural! Units in the dictionary are by default singular and the new The plural is only applied to the last "atomic" unit in the numerator and only when the It would be great if you could update the Finnish translation to make use of these new capabilities! |
|
I'll take a look as soon as I can. |
|
Thank you very much! I will merge this PR now, in order to orchestrate other changes. You can just open a new PR to main then. |
This PR adds support for adding manual as well as automatic alt texts to standalone numbers, units and quantities for export to accessible formats like PDF UA-1.
This is done by adding a parameter
altthat can be one of the followingCurrently available languages:
Language addition PRs welcome!
Limitations:
math: false, no alt text is added. This might change in the future.$a=#num[2.2e4]$) the alt text of the number will be dismissed since the equation is merged with the outer equation. Maybe Typst will add some modularity in the future.Todo
Closes #82