I will provide the needed tagging code, but it would be nice if tikz would predefine the keys for this purpose so that users can add such texts even if tagging is not active (\includegraphics knows the alt keys already too and I will add actualtext).
Interface for tagging code around nodes.
I must be able to add tagging code around nodes. Currently I'm redefining for this two internal commands of pgf:
This looks more or less ok: as far as I could see the commands are only used for postscript + svg where tagging is not active. But dedicated commands at the same place would be better.
Getting the BBox
In some case I have to calculate the BBox, these are the absolute coordinates on the page of the bottom/left and top/right corners of the picture. I'm using remember picture and then the following code to calculate the coordinates. This works fine (I currently do not care about cases where parts of the picture are outside the bounding box), but here too it would be nice, if there were a public tikz command that one could use:
Brief outline of the proposed feature
I'm currently trying to implement some first support to properly tag tikz pictures and have a few request to tikz/pgf here.
Predefine and reserve the keys
alt
andactualtext
.In various cases user will have to provide an alternative text or an actualtext for a picture:
I will provide the needed tagging code, but it would be nice if tikz would predefine the keys for this purpose so that users can add such texts even if tagging is not active (
\includegraphics
knows thealt
keys already too and I will addactualtext
).Interface for tagging code around nodes.
I must be able to add tagging code around nodes. Currently I'm redefining for this two internal commands of pgf:
This looks more or less ok: as far as I could see the commands are only used for postscript + svg where tagging is not active. But dedicated commands at the same place would be better.
Getting the BBox
In some case I have to calculate the BBox, these are the absolute coordinates on the page of the bottom/left and top/right corners of the picture. I'm using
remember picture
and then the following code to calculate the coordinates. This works fine (I currently do not care about cases where parts of the picture are outside the bounding box), but here too it would be nice, if there were a public tikz command that one could use:Usage example
No response